Struct twilight_model::gateway::payload::MessageUpdate [−][src]
pub struct MessageUpdate {Show fields
pub attachments: Option<Vec<Attachment>>,
pub author: Option<User>,
pub channel_id: ChannelId,
pub content: Option<String>,
pub edited_timestamp: Option<String>,
pub embeds: Option<Vec<Embed>>,
pub guild_id: Option<GuildId>,
pub id: MessageId,
pub kind: Option<MessageType>,
pub mention_everyone: Option<bool>,
pub mention_roles: Option<Vec<RoleId>>,
pub mentions: Option<Vec<Mention>>,
pub pinned: Option<bool>,
pub timestamp: Option<String>,
pub tts: Option<bool>,
}Fields
attachments: Option<Vec<Attachment>>channel_id: ChannelIdcontent: Option<String>edited_timestamp: Option<String>embeds: Option<Vec<Embed>>guild_id: Option<GuildId>id: MessageIdkind: Option<MessageType>mention_everyone: Option<bool>mention_roles: Option<Vec<RoleId>>mentions: Option<Vec<Mention>>pinned: Option<bool>timestamp: Option<String>tts: Option<bool>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MessageUpdateimpl Send for MessageUpdateimpl Sync for MessageUpdateimpl Unpin for MessageUpdateimpl UnwindSafe for MessageUpdateBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more