Struct discord_sdk::voice::VoiceSettingsSelf
source · pub struct VoiceSettingsSelf {
pub self_mute: bool,
pub self_deaf: bool,
}
Expand description
Settings for the local user’s voice connection
Fields§
§self_mute: bool
Mutes or unmutes the currently connected user.
self_deaf: bool
Deafens or undefeans the currently connected user.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VoiceSettingsSelf
impl Send for VoiceSettingsSelf
impl Sync for VoiceSettingsSelf
impl Unpin for VoiceSettingsSelf
impl UnwindSafe for VoiceSettingsSelf
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