Struct serenity::model::channel::ChannelMention [−][src]
pub struct ChannelMention { pub id: ChannelId, pub guild_id: GuildId, pub kind: ChannelType, pub name: String, }
Expand description
Channel Mention Object
Fields
id: ChannelId
ID of the channel.
guild_id: GuildId
ID of the guild containing the channel.
kind: ChannelType
The kind of channel
name: String
The name of the channel
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 ChannelMention
impl Send for ChannelMention
impl Sync for ChannelMention
impl Unpin for ChannelMention
impl UnwindSafe for ChannelMention
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self