pub struct VoiceLeft {
pub channel_id: ChannelId,
pub member_id: MemberId,
pub voice_session: VoiceSessionId,
pub reason: VoiceLeftReason,
pub moved_to: Option<ChannelId>,
}Expand description
voice.left: a member left a voice channel. The member itself receives it too.
Fields§
§channel_id: ChannelIdThe voice channel.
member_id: MemberIdWho left.
voice_session: VoiceSessionIdThe stay that ended.
reason: VoiceLeftReasonWhy.
moved_to: Option<ChannelId>moved: the channel the moderator moved the member to; its client joins it.
Trait Implementations§
impl Copy for VoiceLeft
Source§impl<'de> Deserialize<'de> for VoiceLeft
impl<'de> Deserialize<'de> for VoiceLeft
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 VoiceLeft
impl StructuralPartialEq for VoiceLeft
Auto Trait Implementations§
impl Freeze for VoiceLeft
impl RefUnwindSafe for VoiceLeft
impl Send for VoiceLeft
impl Sync for VoiceLeft
impl Unpin for VoiceLeft
impl UnsafeUnpin for VoiceLeft
impl UnwindSafe for VoiceLeft
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