pub struct ParametersData {Show 22 fields
pub added_labels: Option<Vec<String>>,
pub added_tags: Option<Vec<String>>,
pub age_assurance_state: Option<String>,
pub batch_id: Option<String>,
pub collections: Option<Vec<Nsid>>,
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 mod_tool: Option<Vec<String>>,
pub policies: Option<Vec<String>>,
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 subject_type: Option<String>,
pub types: Option<Vec<String>>,
}
namespace-toolsozone
only.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
age_assurance_state: Option<String>
If specified, only events where the age assurance state matches the given value are returned
batch_id: Option<String>
If specified, only events where the batchId matches the given value are returned
collections: Option<Vec<Nsid>>
If specified, only events where the subject belongs to the given collections will be returned. When subjectType is set to ‘account’, this will be ignored.
comment: Option<String>
If specified, only events with comments containing the keyword are returned. Apply || separator to use multiple keywords and match using OR condition.
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.) or records from given ‘collections’ param, owned by the did are returned.
limit: Option<LimitedNonZeroU8<100u8>>
§mod_tool: Option<Vec<String>>
If specified, only events where the modTool name matches any of the given values are returned
policies: Option<Vec<String>>
§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>
§subject_type: Option<String>
If specified, only events where the subject is of the given type (account or record) will be returned. When this is set to ‘account’ the ‘collections’ parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.
types: Option<Vec<String>>
The types of events (fully qualified string in the format of tools.ozone.moderation.defs#modEvent
Trait Implementations§
Source§impl Clone for ParametersData
impl Clone for ParametersData
Source§fn clone(&self) -> ParametersData
fn clone(&self) -> ParametersData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§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>,
Source§impl PartialEq for ParametersData
impl PartialEq for ParametersData
Source§impl Serialize for ParametersData
impl Serialize for ParametersData
impl Eq 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 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,
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.