pub struct VoiceLeave {
pub reason: VoiceLeftReason,
pub moved_to: Option<Channel>,
}Expand description
Why someone left a voice channel.
Fields§
§reason: VoiceLeftReasonWhy.
moved_to: Option<Channel>The channel a moderator moved them to.
Trait Implementations§
Source§impl Clone for VoiceLeave
impl Clone for VoiceLeave
Source§fn clone(&self) -> VoiceLeave
fn clone(&self) -> VoiceLeave
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 moreAuto Trait Implementations§
impl Freeze for VoiceLeave
impl RefUnwindSafe for VoiceLeave
impl Send for VoiceLeave
impl Sync for VoiceLeave
impl Unpin for VoiceLeave
impl UnsafeUnpin for VoiceLeave
impl UnwindSafe for VoiceLeave
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