#[repr(u8)]pub enum AutoModTriggerType {
Keyword = 1,
Spam = 3,
KeywordPreset = 4,
MentionSpam = 5,
MemberProfile = 6,
}Expand description
AutoMod trigger types.
Variants§
Keyword = 1
Check if content contains words from a user defined list.
Spam = 3
Check if content represents generic spam.
KeywordPreset = 4
Check if content contains words from internal pre-defined wordsets.
MentionSpam = 5
Check if content contains more unique mentions than allowed.
MemberProfile = 6
Check if member profile contains words from a user defined list.
Trait Implementations§
Source§impl Clone for AutoModTriggerType
impl Clone for AutoModTriggerType
Source§fn clone(&self) -> AutoModTriggerType
fn clone(&self) -> AutoModTriggerType
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 AutoModTriggerType
impl Debug for AutoModTriggerType
Source§impl<'de> Deserialize<'de> for AutoModTriggerType
impl<'de> Deserialize<'de> for AutoModTriggerType
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 AutoModTriggerType
impl PartialEq for AutoModTriggerType
Source§impl Serialize for AutoModTriggerType
impl Serialize for AutoModTriggerType
impl Copy for AutoModTriggerType
impl Eq for AutoModTriggerType
impl StructuralPartialEq for AutoModTriggerType
Auto Trait Implementations§
impl Freeze for AutoModTriggerType
impl RefUnwindSafe for AutoModTriggerType
impl Send for AutoModTriggerType
impl Sync for AutoModTriggerType
impl Unpin for AutoModTriggerType
impl UnwindSafe for AutoModTriggerType
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.