pub struct GatewayVoiceStateUpdate {
pub guild_id: String,
pub channel_id: Option<String>,
pub self_mute: bool,
pub self_deaf: bool,
}Expand description
See https://discord.com/developers/docs/topics/gateway-events#update-voice-state-gateway-voice-state-update-structure
Fields§
§guild_id: String§channel_id: Option<String>§self_mute: bool§self_deaf: boolTrait Implementations§
Source§impl Debug for GatewayVoiceStateUpdate
impl Debug for GatewayVoiceStateUpdate
Source§impl Default for GatewayVoiceStateUpdate
impl Default for GatewayVoiceStateUpdate
Source§fn default() -> GatewayVoiceStateUpdate
fn default() -> GatewayVoiceStateUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayVoiceStateUpdate
impl<'de> Deserialize<'de> for GatewayVoiceStateUpdate
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 Serialize for GatewayVoiceStateUpdate
impl Serialize for GatewayVoiceStateUpdate
impl WebSocketEvent for GatewayVoiceStateUpdate
Auto Trait Implementations§
impl Freeze for GatewayVoiceStateUpdate
impl RefUnwindSafe for GatewayVoiceStateUpdate
impl Send for GatewayVoiceStateUpdate
impl Sync for GatewayVoiceStateUpdate
impl Unpin for GatewayVoiceStateUpdate
impl UnwindSafe for GatewayVoiceStateUpdate
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