#[repr(u8)]pub enum AutoModKeywordPresetType {
Profanity = 1,
SexualContent = 2,
Slurs = 3,
}Expand description
Pre-defined keyword preset types.
Variants§
Profanity = 1
Words that may be considered forms of swearing or cursing.
SexualContent = 2
Words that refer to sexually explicit behavior or activity.
Slurs = 3
Personal insults or words that may be considered hate speech.
Trait Implementations§
Source§impl Clone for AutoModKeywordPresetType
impl Clone for AutoModKeywordPresetType
Source§fn clone(&self) -> AutoModKeywordPresetType
fn clone(&self) -> AutoModKeywordPresetType
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 moreSource§impl Debug for AutoModKeywordPresetType
impl Debug for AutoModKeywordPresetType
Source§impl<'de> Deserialize<'de> for AutoModKeywordPresetType
impl<'de> Deserialize<'de> for AutoModKeywordPresetType
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
Source§impl PartialEq for AutoModKeywordPresetType
impl PartialEq for AutoModKeywordPresetType
Source§impl Serialize for AutoModKeywordPresetType
impl Serialize for AutoModKeywordPresetType
impl Copy for AutoModKeywordPresetType
impl Eq for AutoModKeywordPresetType
impl StructuralPartialEq for AutoModKeywordPresetType
Auto Trait Implementations§
impl Freeze for AutoModKeywordPresetType
impl RefUnwindSafe for AutoModKeywordPresetType
impl Send for AutoModKeywordPresetType
impl Sync for AutoModKeywordPresetType
impl Unpin for AutoModKeywordPresetType
impl UnwindSafe for AutoModKeywordPresetType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.