pub struct QueryEvents<'a> {Show 22 fields
pub added_labels: Option<Vec<CowStr<'a>>>,
pub added_tags: Option<Vec<CowStr<'a>>>,
pub age_assurance_state: Option<CowStr<'a>>,
pub batch_id: Option<CowStr<'a>>,
pub collections: Option<Vec<Nsid<'a>>>,
pub comment: Option<CowStr<'a>>,
pub created_after: Option<Datetime>,
pub created_before: Option<Datetime>,
pub created_by: Option<Did<'a>>,
pub cursor: Option<CowStr<'a>>,
pub has_comment: Option<bool>,
pub include_all_user_records: Option<bool>,
pub limit: Option<i64>,
pub mod_tool: Option<Vec<CowStr<'a>>>,
pub policies: Option<Vec<CowStr<'a>>>,
pub removed_labels: Option<Vec<CowStr<'a>>>,
pub removed_tags: Option<Vec<CowStr<'a>>>,
pub report_types: Option<Vec<CowStr<'a>>>,
pub sort_direction: Option<CowStr<'a>>,
pub subject: Option<Uri<'a>>,
pub subject_type: Option<CowStr<'a>>,
pub types: Option<Vec<CowStr<'a>>>,
}Fields§
§added_labels: Option<Vec<CowStr<'a>>>§age_assurance_state: Option<CowStr<'a>>§batch_id: Option<CowStr<'a>>§collections: Option<Vec<Nsid<'a>>>§comment: Option<CowStr<'a>>§created_after: Option<Datetime>§created_before: Option<Datetime>§created_by: Option<Did<'a>>§cursor: Option<CowStr<'a>>§has_comment: Option<bool>§include_all_user_records: Option<bool>(default: false)
limit: Option<i64>(default: 50, min: 1, max: 100)
mod_tool: Option<Vec<CowStr<'a>>>§policies: Option<Vec<CowStr<'a>>>§removed_labels: Option<Vec<CowStr<'a>>>§report_types: Option<Vec<CowStr<'a>>>§sort_direction: Option<CowStr<'a>>(default: “desc”)
subject: Option<Uri<'a>>§subject_type: Option<CowStr<'a>>§types: Option<Vec<CowStr<'a>>>Implementations§
Source§impl<'a> QueryEvents<'a>
impl<'a> QueryEvents<'a>
Sourcepub fn new() -> QueryEventsBuilder<'a>
pub fn new() -> QueryEventsBuilder<'a>
Create an instance of QueryEvents using the builder syntax
Trait Implementations§
Source§impl<'a> Clone for QueryEvents<'a>
impl<'a> Clone for QueryEvents<'a>
Source§fn clone(&self) -> QueryEvents<'a>
fn clone(&self) -> QueryEvents<'a>
Returns a duplicate 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<'a> Debug for QueryEvents<'a>
impl<'a> Debug for QueryEvents<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for QueryEvents<'a>
impl<'de: 'a, 'a> Deserialize<'de> for QueryEvents<'a>
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<'a> IntoStatic for QueryEvents<'a>
impl<'a> IntoStatic for QueryEvents<'a>
Source§type Output = QueryEvents<'static>
type Output = QueryEvents<'static>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<'a> PartialEq for QueryEvents<'a>
impl<'a> PartialEq for QueryEvents<'a>
Source§impl<'a> Serialize for QueryEvents<'a>
impl<'a> Serialize for QueryEvents<'a>
Source§impl<'de> XrpcRequest<'de> for QueryEvents<'de>
impl<'de> XrpcRequest<'de> for QueryEvents<'de>
Source§const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
XRPC method (query/GET or procedure/POST)
Source§type Response = QueryEventsResponse
type Response = QueryEventsResponse
Response type returned from the XRPC call (marker struct)
Source§fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
Encode the request body for procedures. Read more
Source§fn decode_body(body: &'de [u8]) -> Result<Box<Self>, DecodeError>
fn decode_body(body: &'de [u8]) -> Result<Box<Self>, DecodeError>
Decode the request body for procedures. Read more
impl<'a> Eq for QueryEvents<'a>
impl<'a> StructuralPartialEq for QueryEvents<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueryEvents<'a>
impl<'a> RefUnwindSafe for QueryEvents<'a>
impl<'a> Send for QueryEvents<'a>
impl<'a> Sync for QueryEvents<'a>
impl<'a> Unpin for QueryEvents<'a>
impl<'a> UnwindSafe for QueryEvents<'a>
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,
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.