Struct atrium_api::tools::ozone::moderation::defs::ModEventReport
source · pub struct ModEventReport {
pub comment: Option<String>,
pub is_reporter_muted: Option<bool>,
pub report_type: ReasonType,
}Available on crate feature
namespace-toolsozone only.Expand description
Report a subject
Fields§
§comment: Option<String>§is_reporter_muted: Option<bool>Set to true if the reporter was muted from reporting at the time of the event. These reports won’t impact the reviewState of the subject.
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 Freeze for ModEventReport
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
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.