Struct discord::model::PrivateChannel  
                   
                       [−]
                   
               [src]
pub struct PrivateChannel {
    pub id: ChannelId,
    pub kind: ChannelType,
    pub recipient: User,
    pub last_message_id: Option<MessageId>,
    pub last_pin_timestamp: Option<DateTime<FixedOffset>>,
}Private text channel to another user
Fields
id: ChannelId
                           
                           
                           kind: ChannelType
                           
                           
                           recipient: User
                           
                           
                           last_message_id: Option<MessageId>
                           
                           
                           last_pin_timestamp: Option<DateTime<FixedOffset>>
                           Methods
impl PrivateChannel[src]
fn decode(value: Value) -> Result<PrivateChannel>
Trait Implementations
impl Debug for PrivateChannel[src]
impl Clone for PrivateChannel[src]
fn clone(&self) -> PrivateChannel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more