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 · 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 ReportReason
impl Debug for ReportReason
Source§impl Serialize for ReportReason
impl Serialize for ReportReason
impl Copy 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