[][src]Struct serenity::model::event::MessageUpdateEvent

pub struct MessageUpdateEvent {
    pub id: MessageId,
    pub guild_id: Option<GuildId>,
    pub channel_id: ChannelId,
    pub kind: Option<MessageType>,
    pub content: Option<String>,
    pub nonce: Option<String>,
    pub tts: Option<bool>,
    pub pinned: Option<bool>,
    pub timestamp: Option<DateTime<Utc>>,
    pub edited_timestamp: Option<DateTime<Utc>>,
    pub author: Option<User>,
    pub mention_everyone: Option<bool>,
    pub mentions: Option<Vec<User>>,
    pub mention_roles: Option<Vec<RoleId>>,
    pub attachments: Option<Vec<Attachment>>,
    pub embeds: Option<Vec<Value>>,
    // some fields omitted
}

Fields

id: MessageIdguild_id: Option<GuildId>channel_id: ChannelIdkind: Option<MessageType>content: Option<String>nonce: Option<String>tts: Option<bool>pinned: Option<bool>timestamp: Option<DateTime<Utc>>edited_timestamp: Option<DateTime<Utc>>author: Option<User>mention_everyone: Option<bool>mentions: Option<Vec<User>>mention_roles: Option<Vec<RoleId>>attachments: Option<Vec<Attachment>>embeds: Option<Vec<Value>>

Trait Implementations

impl CacheUpdate for MessageUpdateEvent[src]

type Output = Message

The return type of an update. Read more

impl Clone for MessageUpdateEvent[src]

impl Debug for MessageUpdateEvent[src]

impl<'de> Deserialize<'de> for MessageUpdateEvent[src]

impl Serialize for MessageUpdateEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]