pub enum ReportCategory {
Spam,
Harassment,
Illegal,
Exploitation,
Rules,
Other,
}Expand description
category (§8.10).
Variants§
Spam
Spam.
Harassment
Harassment.
Illegal
Illegal content.
Exploitation
Exploitation.
Rules
Community rules.
Other
Anything else.
Trait Implementations§
Source§impl Clone for ReportCategory
impl Clone for ReportCategory
Source§fn clone(&self) -> ReportCategory
fn clone(&self) -> ReportCategory
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 moreimpl Copy for ReportCategory
Source§impl Debug for ReportCategory
impl Debug for ReportCategory
Source§impl<'de> Deserialize<'de> for ReportCategory
impl<'de> Deserialize<'de> for ReportCategory
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
impl Eq for ReportCategory
Source§impl Hash for ReportCategory
impl Hash for ReportCategory
Source§impl PartialEq for ReportCategory
impl PartialEq for ReportCategory
Source§impl Serialize for ReportCategory
impl Serialize for ReportCategory
impl StructuralPartialEq for ReportCategory
Auto Trait Implementations§
impl Freeze for ReportCategory
impl RefUnwindSafe for ReportCategory
impl Send for ReportCategory
impl Sync for ReportCategory
impl Unpin for ReportCategory
impl UnsafeUnpin for ReportCategory
impl UnwindSafe for ReportCategory
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