pub struct ReportActionData {
pub all: Option<bool>,
pub ids: Option<Vec<i64>>,
pub note: Option<String>,
pub types: Option<Vec<String>>,
}Available on crate feature
namespace-toolsozone only.Expand description
Target specific reports when emitting a moderation event
Fields§
§all: Option<bool>Target ALL reports on the subject
ids: Option<Vec<i64>>Target specific report IDs
note: Option<String>Note to send to reporter(s) when actioning their report
types: Option<Vec<String>>Target reports matching these report types on the subject (fully qualified NSIDs)
Trait Implementations§
Source§impl Clone for ReportActionData
impl Clone for ReportActionData
Source§impl Debug for ReportActionData
impl Debug for ReportActionData
Source§impl<'de> Deserialize<'de> for ReportActionData
impl<'de> Deserialize<'de> for ReportActionData
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
impl Eq for ReportActionData
Source§impl PartialEq for ReportActionData
impl PartialEq for ReportActionData
Source§impl Serialize for ReportActionData
impl Serialize for ReportActionData
impl StructuralPartialEq for ReportActionData
Auto Trait Implementations§
impl Freeze for ReportActionData
impl RefUnwindSafe for ReportActionData
impl Send for ReportActionData
impl Sync for ReportActionData
impl Unpin for ReportActionData
impl UnsafeUnpin for ReportActionData
impl UnwindSafe for ReportActionData
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.