Struct dasi::model::PrivateChannel [] [src]

pub struct PrivateChannel {
    pub id: ChannelId,
    pub recipient: User,
    pub last_message_id: Option<MessageId>,
}

Private text channel to another user

Fields

id
recipient
last_message_id

Methods

impl PrivateChannel

fn decode(value: Value) -> Result<PrivateChannel>

Trait Implementations

Derived Implementations

impl Clone for PrivateChannel

fn clone(&self) -> PrivateChannel

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for PrivateChannel

fn fmt(&self, __arg_0: &mut Formatter) -> Result