pub enum ReportDataType {
Article,
Comment,
User,
Chatroom,
}Expand description
举报数据类型
Variants§
Trait Implementations§
Source§impl Clone for ReportDataType
impl Clone for ReportDataType
Source§fn clone(&self) -> ReportDataType
fn clone(&self) -> ReportDataType
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 ReportDataType
impl Debug for ReportDataType
Source§impl<'de> Deserialize<'de> for ReportDataType
impl<'de> Deserialize<'de> for ReportDataType
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 From<u8> for ReportDataType
impl From<u8> for ReportDataType
Auto Trait Implementations§
impl Freeze for ReportDataType
impl RefUnwindSafe for ReportDataType
impl Send for ReportDataType
impl Sync for ReportDataType
impl Unpin for ReportDataType
impl UnsafeUnpin for ReportDataType
impl UnwindSafe for ReportDataType
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