Struct atrium_api::com::atproto::admin::query_moderation_events::Parameters
source · pub struct Parameters {Show 16 fields
pub added_labels: Option<Vec<String>>,
pub added_tags: Option<Vec<String>>,
pub comment: Option<String>,
pub created_after: Option<Datetime>,
pub created_before: Option<Datetime>,
pub created_by: Option<Did>,
pub cursor: Option<String>,
pub has_comment: Option<bool>,
pub include_all_user_records: Option<bool>,
pub limit: Option<LimitedNonZeroU8<100u8>>,
pub removed_labels: Option<Vec<String>>,
pub removed_tags: Option<Vec<String>>,
pub report_types: Option<Vec<String>>,
pub sort_direction: Option<String>,
pub subject: Option<String>,
pub types: Option<Vec<String>>,
}
Fields§
§added_labels: Option<Vec<String>>
If specified, only events where all of these labels were added are returned
If specified, only events where all of these tags were added are returned
comment: Option<String>
If specified, only events with comments containing the keyword are returned
created_after: Option<Datetime>
Retrieve events created after a given timestamp
created_before: Option<Datetime>
Retrieve events created before a given timestamp
created_by: Option<Did>
§cursor: Option<String>
§has_comment: Option<bool>
If true, only events with comments are returned
include_all_user_records: Option<bool>
If true, events on all record types (posts, lists, profile etc.) owned by the did are returned
limit: Option<LimitedNonZeroU8<100u8>>
§removed_labels: Option<Vec<String>>
If specified, only events where all of these labels were removed are returned
If specified, only events where all of these tags were removed are returned
report_types: Option<Vec<String>>
§sort_direction: Option<String>
Sort direction for the events. Defaults to descending order of created at timestamp.
subject: Option<String>
§types: Option<Vec<String>>
The types of events (fully qualified string in the format of com.atproto.admin#modEvent
Trait Implementations§
source§impl Clone for Parameters
impl Clone for Parameters
source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Parameters
impl Debug for Parameters
source§impl<'de> Deserialize<'de> for Parameters
impl<'de> Deserialize<'de> for Parameters
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>,
source§impl PartialEq for Parameters
impl PartialEq for Parameters
source§fn eq(&self, other: &Parameters) -> bool
fn eq(&self, other: &Parameters) -> bool
self
and other
values to be equal, and is used
by ==
.