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: bool
guild_id: Option<GuildId>
member: Option<Member>
mute: bool
self_deaf: bool
self_mute: bool
self_stream: bool
Whether this user is streaming via “Go Live”.
session_id: String
suppress: bool
token: Option<String>
user_id: UserId
request_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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more