Struct twilight_model::channel::Group [−][src]
pub struct Group {
pub application_id: Option<ApplicationId>,
pub icon: Option<String>,
pub id: ChannelId,
pub kind: ChannelType,
pub last_message_id: Option<MessageId>,
pub last_pin_timestamp: Option<Timestamp>,
pub name: Option<String>,
pub owner_id: UserId,
pub recipients: Vec<User>,
}Fields
application_id: Option<ApplicationId>icon: Option<String>id: ChannelIdkind: ChannelTypelast_message_id: Option<MessageId>last_pin_timestamp: Option<Timestamp>name: Option<String>owner_id: UserIdrecipients: Vec<User>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Group
impl UnwindSafe for Group
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more