pub struct ModEventReport {
pub comment: Option<String>,
pub is_reporter_muted: Option<bool>,
pub report_type: ReasonType,
}Expand description
Report a subject
Fields§
§comment: Option<String>§is_reporter_muted: Option<bool>§report_type: ReasonTypeTrait Implementations§
Source§impl Clone for ModEventReport
impl Clone for ModEventReport
Source§fn clone(&self) -> ModEventReport
fn clone(&self) -> ModEventReport
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 ModEventReport
impl Debug for ModEventReport
Source§impl<'de> Deserialize<'de> for ModEventReport
impl<'de> Deserialize<'de> for ModEventReport
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
Auto Trait Implementations§
impl Freeze for ModEventReport
impl RefUnwindSafe for ModEventReport
impl Send for ModEventReport
impl Sync for ModEventReport
impl Unpin for ModEventReport
impl UnsafeUnpin for ModEventReport
impl UnwindSafe for ModEventReport
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