Struct serenity::model::event::PresenceUpdateEvent
[−]
[src]
pub struct PresenceUpdateEvent { pub guild_id: Option<GuildId>, pub presence: Presence, pub roles: Option<Vec<RoleId>>, }
Fields
guild_id: Option<GuildId>
presence: Presence
roles: Option<Vec<RoleId>>
Trait Implementations
impl Clone for PresenceUpdateEvent
[src]
fn clone(&self) -> PresenceUpdateEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PresenceUpdateEvent
[src]
impl<'de> Deserialize<'de> for PresenceUpdateEvent
[src]
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<Self, D::Error>
deserializer: D
) -> StdResult<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more