pub struct ModerationCauseLabel {
pub source: ModerationCauseSource,
pub label: Label,
pub label_def: InterpretedLabelValueDefinition,
pub target: LabelTarget,
pub setting: LabelPreference,
pub behavior: ModerationBehavior,
pub no_override: bool,
pub downgraded: bool,
/* private fields */
}Expand description
A label moderation cause.
Fields§
§source: ModerationCauseSource§label: Label§label_def: InterpretedLabelValueDefinition§target: LabelTarget§setting: LabelPreference§behavior: ModerationBehavior§no_override: bool§downgraded: boolTrait Implementations§
Source§impl Clone for ModerationCauseLabel
impl Clone for ModerationCauseLabel
Source§fn clone(&self) -> ModerationCauseLabel
fn clone(&self) -> ModerationCauseLabel
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 ModerationCauseLabel
impl RefUnwindSafe for ModerationCauseLabel
impl Send for ModerationCauseLabel
impl Sync for ModerationCauseLabel
impl Unpin for ModerationCauseLabel
impl UnwindSafe for ModerationCauseLabel
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