pub struct UpdateVoiceStateInfo {
pub channel_id: Option<Id<ChannelMarker>>,
pub guild_id: Id<GuildMarker>,
pub self_deaf: bool,
pub self_mute: bool,
}
Fields§
§channel_id: Option<Id<ChannelMarker>>
§guild_id: Id<GuildMarker>
§self_deaf: bool
§self_mute: bool
Implementations§
Trait Implementations§
Source§impl Clone for UpdateVoiceStateInfo
impl Clone for UpdateVoiceStateInfo
Source§fn clone(&self) -> UpdateVoiceStateInfo
fn clone(&self) -> UpdateVoiceStateInfo
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 UpdateVoiceStateInfo
impl Debug for UpdateVoiceStateInfo
Source§impl<'de> Deserialize<'de> for UpdateVoiceStateInfo
impl<'de> Deserialize<'de> for UpdateVoiceStateInfo
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
Source§impl Hash for UpdateVoiceStateInfo
impl Hash for UpdateVoiceStateInfo
Source§impl PartialEq for UpdateVoiceStateInfo
impl PartialEq for UpdateVoiceStateInfo
Source§impl Serialize for UpdateVoiceStateInfo
impl Serialize for UpdateVoiceStateInfo
impl Eq for UpdateVoiceStateInfo
impl StructuralPartialEq for UpdateVoiceStateInfo
Auto Trait Implementations§
impl Freeze for UpdateVoiceStateInfo
impl RefUnwindSafe for UpdateVoiceStateInfo
impl Send for UpdateVoiceStateInfo
impl Sync for UpdateVoiceStateInfo
impl Unpin for UpdateVoiceStateInfo
impl UnwindSafe for UpdateVoiceStateInfo
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