pub struct QueryEventsBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> QueryEventsBuilder<'a, Empty>
impl<'a> QueryEventsBuilder<'a, Empty>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Set the addedTags field (optional)
Set the addedTags field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn age_assurance_state(self, value: impl Into<Option<CowStr<'a>>>) -> Self
pub fn age_assurance_state(self, value: impl Into<Option<CowStr<'a>>>) -> Self
Set the ageAssuranceState field (optional)
Sourcepub fn maybe_age_assurance_state(self, value: Option<CowStr<'a>>) -> Self
pub fn maybe_age_assurance_state(self, value: Option<CowStr<'a>>) -> Self
Set the ageAssuranceState field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn created_after(self, value: impl Into<Option<Datetime>>) -> Self
pub fn created_after(self, value: impl Into<Option<Datetime>>) -> Self
Set the createdAfter field (optional)
Sourcepub fn maybe_created_after(self, value: Option<Datetime>) -> Self
pub fn maybe_created_after(self, value: Option<Datetime>) -> Self
Set the createdAfter field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn created_before(self, value: impl Into<Option<Datetime>>) -> Self
pub fn created_before(self, value: impl Into<Option<Datetime>>) -> Self
Set the createdBefore field (optional)
Sourcepub fn maybe_created_before(self, value: Option<Datetime>) -> Self
pub fn maybe_created_before(self, value: Option<Datetime>) -> Self
Set the createdBefore field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn created_by(self, value: impl Into<Option<Did<'a>>>) -> Self
pub fn created_by(self, value: impl Into<Option<Did<'a>>>) -> Self
Set the createdBy field (optional)
Sourcepub fn maybe_created_by(self, value: Option<Did<'a>>) -> Self
pub fn maybe_created_by(self, value: Option<Did<'a>>) -> Self
Set the createdBy field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn has_comment(self, value: impl Into<Option<bool>>) -> Self
pub fn has_comment(self, value: impl Into<Option<bool>>) -> Self
Set the hasComment field (optional)
Sourcepub fn maybe_has_comment(self, value: Option<bool>) -> Self
pub fn maybe_has_comment(self, value: Option<bool>) -> Self
Set the hasComment field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn include_all_user_records(self, value: impl Into<Option<bool>>) -> Self
pub fn include_all_user_records(self, value: impl Into<Option<bool>>) -> Self
Set the includeAllUserRecords field (optional)
Sourcepub fn maybe_include_all_user_records(self, value: Option<bool>) -> Self
pub fn maybe_include_all_user_records(self, value: Option<bool>) -> Self
Set the includeAllUserRecords field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Set the removedTags field (optional)
Set the removedTags field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn sort_direction(self, value: impl Into<Option<CowStr<'a>>>) -> Self
pub fn sort_direction(self, value: impl Into<Option<CowStr<'a>>>) -> Self
Set the sortDirection field (optional)
Sourcepub fn maybe_sort_direction(self, value: Option<CowStr<'a>>) -> Self
pub fn maybe_sort_direction(self, value: Option<CowStr<'a>>) -> Self
Set the sortDirection field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn subject_type(self, value: impl Into<Option<CowStr<'a>>>) -> Self
pub fn subject_type(self, value: impl Into<Option<CowStr<'a>>>) -> Self
Set the subjectType field (optional)
Sourcepub fn maybe_subject_type(self, value: Option<CowStr<'a>>) -> Self
pub fn maybe_subject_type(self, value: Option<CowStr<'a>>) -> Self
Set the subjectType field to an Option value (optional)
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Source§impl<'a, S: State> QueryEventsBuilder<'a, S>
impl<'a, S: State> QueryEventsBuilder<'a, S>
Sourcepub fn with_strike(self, value: impl Into<Option<bool>>) -> Self
pub fn with_strike(self, value: impl Into<Option<bool>>) -> Self
Set the withStrike field (optional)
Sourcepub fn maybe_with_strike(self, value: Option<bool>) -> Self
pub fn maybe_with_strike(self, value: Option<bool>) -> Self
Set the withStrike field to an Option value (optional)
Source§impl<'a, S> QueryEventsBuilder<'a, S>where
S: State,
impl<'a, S> QueryEventsBuilder<'a, S>where
S: State,
Sourcepub fn build(self) -> QueryEvents<'a>
pub fn build(self) -> QueryEvents<'a>
Build the final struct