Struct twilight_model::gateway::payload::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<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: ChannelId
content: Option<String>
edited_timestamp: Option<String>
embeds: Option<Vec<Embed>>
guild_id: Option<GuildId>
id: MessageId
kind: 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>,
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more