Struct activity::VoiceStateUpdateEvent
source · pub struct VoiceStateUpdateEvent {
pub voice_state: VoiceState,
pub user: User,
pub nick: Option<String>,
pub volume: u32,
pub mute: bool,
pub pan: Option<VoiceStateUpdatePan>,
}Fields§
§voice_state: VoiceState§user: User§nick: Option<String>§volume: u32§mute: bool§pan: Option<VoiceStateUpdatePan>Trait Implementations§
source§impl Debug for VoiceStateUpdateEvent
impl Debug for VoiceStateUpdateEvent
source§impl<'de> Deserialize<'de> for VoiceStateUpdateEvent
impl<'de> Deserialize<'de> for VoiceStateUpdateEvent
source§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
source§impl EventPayload for VoiceStateUpdateEvent
impl EventPayload for VoiceStateUpdateEvent
fn event_type() -> EventType
Auto Trait Implementations§
impl Freeze for VoiceStateUpdateEvent
impl RefUnwindSafe for VoiceStateUpdateEvent
impl Send for VoiceStateUpdateEvent
impl Sync for VoiceStateUpdateEvent
impl Unpin for VoiceStateUpdateEvent
impl UnwindSafe for VoiceStateUpdateEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more