Struct twilight_model::voice::VoiceState [−][src]
pub struct VoiceState {Show 13 fields
pub channel_id: Option<ChannelId>,
pub deaf: bool,
pub guild_id: Option<GuildId>,
pub member: Option<Member>,
pub mute: bool,
pub self_deaf: bool,
pub self_mute: bool,
pub self_stream: bool,
pub session_id: String,
pub suppress: bool,
pub token: Option<String>,
pub user_id: UserId,
pub request_to_speak_timestamp: Option<String>,
}Fields
channel_id: Option<ChannelId>deaf: boolguild_id: Option<GuildId>member: Option<Member>mute: boolself_deaf: boolself_mute: boolself_stream: boolWhether this user is streaming via “Go Live”.
session_id: Stringsuppress: booltoken: Option<String>user_id: UserIdrequest_to_speak_timestamp: Option<String>Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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