pub struct ParametersData {Show 15 fields
pub assigned_to: Option<Did>,
pub collections: Option<Vec<Nsid>>,
pub cursor: Option<String>,
pub did: Option<Did>,
pub is_muted: Option<bool>,
pub limit: Option<LimitedNonZeroU8<100u8>>,
pub queue_id: Option<i64>,
pub report_types: Option<Vec<String>>,
pub reported_after: Option<Datetime>,
pub reported_before: Option<Datetime>,
pub sort_direction: Option<String>,
pub sort_field: Option<String>,
pub status: String,
pub subject: Option<String>,
pub subject_type: Option<String>,
}namespace-toolsozone only.Fields§
§assigned_to: Option<Did>Filter by the DID of the moderator permanently assigned to the report.
collections: Option<Vec<Nsid>>If specified, reports where the subject belongs to the given collections will be returned. When subjectType is set to ‘account’, this will be ignored.
cursor: Option<String>§did: Option<Did>Filter to reports where the subject is this DID or any record owned by this DID. Unlike subject (which scopes to a specific account or record), this returns all reports tied to the DID across both account-level and record-level subjects.
is_muted: Option<bool>Filter by muted status. true returns only muted reports, false returns only unmuted reports. Defaults to false.
limit: Option<LimitedNonZeroU8<100u8>>§queue_id: Option<i64>Filter by queue ID. Use -1 for unassigned reports.
report_types: Option<Vec<String>>Filter by report types (fully qualified string in the format of com.atproto.moderation.defs#reason
reported_after: Option<Datetime>Retrieve reports created after a given timestamp
reported_before: Option<Datetime>Retrieve reports created before a given timestamp
sort_direction: Option<String>§sort_field: Option<String>§status: StringFilter by report status.
subject: Option<String>Filter by subject DID or AT-URI.
subject_type: Option<String>If specified, reports of the given subject type will be returned.
Trait Implementations§
Source§impl Clone for ParametersData
impl Clone for ParametersData
Source§impl Debug for ParametersData
impl Debug for ParametersData
Source§impl<'de> Deserialize<'de> for ParametersData
impl<'de> Deserialize<'de> for ParametersData
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>,
impl Eq for ParametersData
Source§impl PartialEq for ParametersData
impl PartialEq for ParametersData
Source§impl Serialize for ParametersData
impl Serialize for ParametersData
impl StructuralPartialEq for ParametersData
Auto Trait Implementations§
impl Freeze for ParametersData
impl RefUnwindSafe for ParametersData
impl Send for ParametersData
impl Sync for ParametersData
impl Unpin for ParametersData
impl UnsafeUnpin for ParametersData
impl UnwindSafe for ParametersData
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
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
key and return true if they are equal.