Struct discord::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[src]
fn decode(value: Value) -> Result<PrivateChannel>
Trait Implementations
Derived Implementations
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