#[non_exhaustive]pub enum SuspiciousUserType {
ManuallyAdded,
DetectedBanEvader,
DetectedSusChatter,
BannedInSharedChannel,
Unknown(String),
}Available on crate feature
helix only.Expand description
Traits of a suspicious user
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ManuallyAdded
A manually added user.
DetectedBanEvader
A detected ban evader.
DetectedSusChatter
A detected suspicious user.
A user banned in another channel that shares ban information.
Unknown(String)
An unknown user type, contains the raw string provided by Twitch.
Trait Implementations§
Source§impl Clone for SuspiciousUserType
impl Clone for SuspiciousUserType
Source§fn clone(&self) -> SuspiciousUserType
fn clone(&self) -> SuspiciousUserType
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 moreSource§impl Debug for SuspiciousUserType
impl Debug for SuspiciousUserType
Source§impl<'de> Deserialize<'de> for SuspiciousUserType
impl<'de> Deserialize<'de> for SuspiciousUserType
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 SuspiciousUserType
impl PartialEq for SuspiciousUserType
Source§fn eq(&self, other: &SuspiciousUserType) -> bool
fn eq(&self, other: &SuspiciousUserType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SuspiciousUserType
impl Serialize for SuspiciousUserType
impl Eq for SuspiciousUserType
impl StructuralPartialEq for SuspiciousUserType
Auto Trait Implementations§
impl Freeze for SuspiciousUserType
impl RefUnwindSafe for SuspiciousUserType
impl Send for SuspiciousUserType
impl Sync for SuspiciousUserType
impl Unpin for SuspiciousUserType
impl UnsafeUnpin for SuspiciousUserType
impl UnwindSafe for SuspiciousUserType
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