pub enum VoiceLeftReason {
Left,
Disconnected,
Disconnect,
Moved,
Access,
}Expand description
Why a participant left a voice channel.
Variants§
Left
voice.leave, or a voice.join of another channel.
Disconnected
The member’s connection closed or was replaced.
Disconnect
A moderator disconnected the member.
Moved
A moderator moved the member: moved_to names the channel to join.
Access
The member lost access: kicked, banned, suspended, timed out, lockdown, a lost
VIEW_CHANNEL or CONNECT, or the channel was deleted.
Trait Implementations§
Source§impl Clone for VoiceLeftReason
impl Clone for VoiceLeftReason
Source§fn clone(&self) -> VoiceLeftReason
fn clone(&self) -> VoiceLeftReason
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 moreimpl Copy for VoiceLeftReason
Source§impl Debug for VoiceLeftReason
impl Debug for VoiceLeftReason
Source§impl<'de> Deserialize<'de> for VoiceLeftReason
impl<'de> Deserialize<'de> for VoiceLeftReason
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 VoiceLeftReason
Source§impl Hash for VoiceLeftReason
impl Hash for VoiceLeftReason
Source§impl PartialEq for VoiceLeftReason
impl PartialEq for VoiceLeftReason
Source§impl Serialize for VoiceLeftReason
impl Serialize for VoiceLeftReason
impl StructuralPartialEq for VoiceLeftReason
Auto Trait Implementations§
impl Freeze for VoiceLeftReason
impl RefUnwindSafe for VoiceLeftReason
impl Send for VoiceLeftReason
impl Sync for VoiceLeftReason
impl Unpin for VoiceLeftReason
impl UnsafeUnpin for VoiceLeftReason
impl UnwindSafe for VoiceLeftReason
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