Struct discord::model::VoiceState [] [src]

pub struct VoiceState {
    pub user_id: UserId,
    pub channel_id: Option<ChannelId>,
    pub session_id: String,
    pub token: Option<String>,
    pub suppress: bool,
    pub self_mute: bool,
    pub self_deaf: bool,
    pub mute: bool,
    pub deaf: bool,
}

A member's state within a voice channel

Fields

user_id
channel_id
session_id
token
suppress
self_mute
self_deaf
mute
deaf

Methods

impl VoiceState
[src]

fn decode(value: Value) -> Result<VoiceState>

Trait Implementations

Derived Implementations

impl Clone for VoiceState
[src]

fn clone(&self) -> VoiceState

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 VoiceState
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.