Struct discord_sdk::voice::events::VoiceSettingsUpdateEvent
source · 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§
source§impl Clone for VoiceSettingsUpdateEvent
impl Clone for VoiceSettingsUpdateEvent
source§fn clone(&self) -> VoiceSettingsUpdateEvent
fn clone(&self) -> VoiceSettingsUpdateEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VoiceSettingsUpdateEvent
impl Debug for VoiceSettingsUpdateEvent
source§impl Default for VoiceSettingsUpdateEvent
impl Default for VoiceSettingsUpdateEvent
source§fn default() -> VoiceSettingsUpdateEvent
fn default() -> VoiceSettingsUpdateEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VoiceSettingsUpdateEvent
impl<'de> Deserialize<'de> for VoiceSettingsUpdateEvent
source§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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more