pub enum ModerationCause {
Blocking(Box<ModerationCauseOther>),
BlockedBy(Box<ModerationCauseOther>),
Label(Box<ModerationCauseLabel>),
Muted(Box<ModerationCauseOther>),
MuteWord(Box<ModerationCauseOther>),
Hidden(Box<ModerationCauseOther>),
}Expand description
A cause for moderation decisions.
Variants§
Blocking(Box<ModerationCauseOther>)
BlockedBy(Box<ModerationCauseOther>)
Label(Box<ModerationCauseLabel>)
Muted(Box<ModerationCauseOther>)
MuteWord(Box<ModerationCauseOther>)
Hidden(Box<ModerationCauseOther>)
Implementations§
Trait Implementations§
Source§impl Clone for ModerationCause
impl Clone for ModerationCause
Source§fn clone(&self) -> ModerationCause
fn clone(&self) -> ModerationCause
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ModerationCause
impl RefUnwindSafe for ModerationCause
impl Send for ModerationCause
impl Sync for ModerationCause
impl Unpin for ModerationCause
impl UnwindSafe for ModerationCause
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