Struct discord_sdk::voice::events::VoiceSettingsUpdateEvent [−][src]
pub struct VoiceSettingsUpdateEvent {
pub input_mode: Option<InputMode>,
pub local_mutes: Vec<UserId>,
pub local_volumes: BTreeMap<UserId, u8>,
pub self_mute: bool,
pub self_deaf: bool,
}
Fields
input_mode: Option<InputMode>
local_mutes: Vec<UserId>
local_volumes: BTreeMap<UserId, u8>
self_mute: bool
self_deaf: bool
Trait Implementations
Returns the “default value” for a type. Read more
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 VoiceSettingsUpdateEvent
impl Send for VoiceSettingsUpdateEvent
impl Sync for VoiceSettingsUpdateEvent
impl Unpin for VoiceSettingsUpdateEvent
impl UnwindSafe for VoiceSettingsUpdateEvent
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