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

pub struct PresenceUpdateEvent {
    pub guild_id: Option<GuildId>,
    pub presence: Presence,
    pub roles: Option<Vec<RoleId>>,
}

Fields

Trait Implementations

impl Clone for PresenceUpdateEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PresenceUpdateEvent
[src]

Formats the value using the given formatter. Read more

impl CacheUpdate for PresenceUpdateEvent
[src]

The return type of an update. Read more

Updates the cache with the implementation.

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations