Struct discord_sdk::lobby::VoiceState [−][src]
pub struct VoiceState {
pub channel_id: Snowflake,
pub deaf: bool,
pub mute: bool,
pub self_deaf: bool,
pub self_mute: bool,
pub self_video: bool,
pub session_id: String,
pub suppress: bool,
pub user_id: UserId,
}
Expand description
The voice states that can be attached to each lobby member
Fields
channel_id: Snowflake
deaf: bool
mute: bool
self_deaf: bool
self_mute: bool
self_video: bool
session_id: String
suppress: bool
user_id: UserId
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for VoiceState
impl Send for VoiceState
impl Sync for VoiceState
impl Unpin for VoiceState
impl UnwindSafe for VoiceState
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more