Struct twilight_model::voice::VoiceState [−][src]
pub struct VoiceState {Show 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 VoiceStateimpl Send for VoiceStateimpl Sync for VoiceStateimpl Unpin for VoiceStateimpl UnwindSafe for VoiceStateBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more