Struct twilight_model::gateway::payload::incoming::MessageUpdate [−][src]
pub struct MessageUpdate {Show 15 fields
pub attachments: Option<Vec<Attachment>>,
pub author: Option<User>,
pub channel_id: ChannelId,
pub content: Option<String>,
pub edited_timestamp: Option<Timestamp>,
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<Timestamp>,
pub tts: Option<bool>,
}Fields
attachments: Option<Vec<Attachment>>channel_id: ChannelIdcontent: Option<String>edited_timestamp: Option<Timestamp>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<Timestamp>tts: Option<bool>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
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 MessageUpdate
impl Send for MessageUpdate
impl Sync for MessageUpdate
impl Unpin for MessageUpdate
impl UnwindSafe for MessageUpdate
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
