Struct serenity::model::event::VoiceStateUpdateEvent [−][src]
pub struct VoiceStateUpdateEvent { pub guild_id: Option<GuildId>, pub voice_state: VoiceState, }
Fields
guild_id: Option<GuildId>
voice_state: VoiceState
Trait Implementations
impl Clone for VoiceStateUpdateEvent
[src]
impl Clone for VoiceStateUpdateEvent
fn clone(&self) -> VoiceStateUpdateEvent
[src]
fn clone(&self) -> VoiceStateUpdateEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for VoiceStateUpdateEvent
[src]
impl Debug for VoiceStateUpdateEvent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl CacheUpdate for VoiceStateUpdateEvent
[src]
impl CacheUpdate for VoiceStateUpdateEvent
type Output = ()
The return type of an update. Read more
fn update(&mut self, cache: &mut Cache) -> Option<()>
[src]
fn update(&mut self, cache: &mut Cache) -> Option<()>
Updates the cache with the implementation.
impl<'de> Deserialize<'de> for VoiceStateUpdateEvent
[src]
impl<'de> Deserialize<'de> for VoiceStateUpdateEvent
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for VoiceStateUpdateEvent
impl Send for VoiceStateUpdateEvent
impl Sync for VoiceStateUpdateEvent
impl Sync for VoiceStateUpdateEvent