Struct atrium_api::com::atproto::admin::query_moderation_events::Parameters
source · pub struct Parameters {Show 14 fields
pub added_labels: 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 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
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
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
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 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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Parameters
impl PartialEq for Parameters
source§fn eq(&self, other: &Parameters) -> bool
fn eq(&self, other: &Parameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Parameters
impl Serialize for Parameters
impl Eq for Parameters
impl StructuralPartialEq for Parameters
Auto Trait Implementations§
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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