pub struct VoiceUpdated {
pub channel_id: ChannelId,
pub participant: VoiceParticipant,
}Expand description
voice.updated: a participant’s mute, deafen or can_speak changed.
Fields§
§channel_id: ChannelIdThe voice channel.
participant: VoiceParticipantThe participant, without its key package.
Trait Implementations§
Source§impl Clone for VoiceUpdated
impl Clone for VoiceUpdated
Source§fn clone(&self) -> VoiceUpdated
fn clone(&self) -> VoiceUpdated
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VoiceUpdated
impl Debug for VoiceUpdated
Source§impl<'de> Deserialize<'de> for VoiceUpdated
impl<'de> Deserialize<'de> for VoiceUpdated
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
impl Eq for VoiceUpdated
Source§impl PartialEq for VoiceUpdated
impl PartialEq for VoiceUpdated
Source§impl Serialize for VoiceUpdated
impl Serialize for VoiceUpdated
impl StructuralPartialEq for VoiceUpdated
Auto Trait Implementations§
impl Freeze for VoiceUpdated
impl RefUnwindSafe for VoiceUpdated
impl Send for VoiceUpdated
impl Sync for VoiceUpdated
impl Unpin for VoiceUpdated
impl UnsafeUnpin for VoiceUpdated
impl UnwindSafe for VoiceUpdated
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