Struct atrium_api::com::atproto::admin::defs::ModEventReport
source · pub struct ModEventReport {
pub comment: Option<String>,
pub report_type: ReasonType,
}Expand description
Report a subject
Fields§
§comment: Option<String>§report_type: ReasonTypeTrait Implementations§
source§impl Clone for ModEventReport
impl Clone for ModEventReport
source§fn clone(&self) -> ModEventReport
fn clone(&self) -> ModEventReport
Returns a copy 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 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
source§impl PartialEq for ModEventReport
impl PartialEq for ModEventReport
source§fn eq(&self, other: &ModEventReport) -> bool
fn eq(&self, other: &ModEventReport) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ModEventReport
impl Serialize for ModEventReport
impl Eq for ModEventReport
impl StructuralPartialEq for ModEventReport
Auto Trait Implementations§
impl RefUnwindSafe for ModEventReport
impl Send for ModEventReport
impl Sync for ModEventReport
impl Unpin 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