pub enum ReportReason {
Show 18 variants
Other = 0,
Ad = 1,
Porn = 2,
Spam = 3,
Flame = 4,
Spoiler = 5,
Politics = 6,
Abuse = 7,
Irrelevant = 8,
Illegal = 9,
Vulgar = 10,
Phishing = 11,
Scam = 12,
Rumor = 13,
Incitement = 14,
Privacy = 15,
FloorSnatching = 16,
HarmfulToYouth = 17,
}Expand description
举报原因枚举
Variants§
Other = 0
Ad = 1
Porn = 2
Spam = 3
Flame = 4
Spoiler = 5
Politics = 6
Abuse = 7
Irrelevant = 8
Illegal = 9
Vulgar = 10
Phishing = 11
Scam = 12
Rumor = 13
Incitement = 14
Privacy = 15
FloorSnatching = 16
HarmfulToYouth = 17
Trait Implementations§
Source§impl Clone for ReportReason
impl Clone for ReportReason
Source§fn clone(&self) -> ReportReason
fn clone(&self) -> ReportReason
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 ReportReason
Source§impl Debug for ReportReason
impl Debug for ReportReason
impl Eq for ReportReason
Source§impl PartialEq for ReportReason
impl PartialEq for ReportReason
Source§fn eq(&self, other: &ReportReason) -> bool
fn eq(&self, other: &ReportReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReportReason
impl Serialize for ReportReason
impl StructuralPartialEq for ReportReason
Auto Trait Implementations§
impl Freeze for ReportReason
impl RefUnwindSafe for ReportReason
impl Send for ReportReason
impl Sync for ReportReason
impl Unpin for ReportReason
impl UnsafeUnpin for ReportReason
impl UnwindSafe for ReportReason
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§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.