#[non_exhaustive]pub struct SearchResourcesCriteriaBuilder { /* private fields */ }Expand description
A builder for SearchResourcesCriteria.
Implementations§
source§impl SearchResourcesCriteriaBuilder
impl SearchResourcesCriteriaBuilder
sourcepub fn simple_criterion(self, input: SearchResourcesSimpleCriterion) -> Self
pub fn simple_criterion(self, input: SearchResourcesSimpleCriterion) -> Self
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
sourcepub fn set_simple_criterion(
self,
input: Option<SearchResourcesSimpleCriterion>,
) -> Self
pub fn set_simple_criterion( self, input: Option<SearchResourcesSimpleCriterion>, ) -> Self
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
sourcepub fn get_simple_criterion(&self) -> &Option<SearchResourcesSimpleCriterion>
pub fn get_simple_criterion(&self) -> &Option<SearchResourcesSimpleCriterion>
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
sourcepub fn tag_criterion(self, input: SearchResourcesTagCriterion) -> Self
pub fn tag_criterion(self, input: SearchResourcesTagCriterion) -> Self
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
sourcepub fn set_tag_criterion(
self,
input: Option<SearchResourcesTagCriterion>,
) -> Self
pub fn set_tag_criterion( self, input: Option<SearchResourcesTagCriterion>, ) -> Self
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
sourcepub fn get_tag_criterion(&self) -> &Option<SearchResourcesTagCriterion>
pub fn get_tag_criterion(&self) -> &Option<SearchResourcesTagCriterion>
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
sourcepub fn build(self) -> SearchResourcesCriteria
pub fn build(self) -> SearchResourcesCriteria
Consumes the builder and constructs a SearchResourcesCriteria.
Trait Implementations§
source§impl Clone for SearchResourcesCriteriaBuilder
impl Clone for SearchResourcesCriteriaBuilder
source§fn clone(&self) -> SearchResourcesCriteriaBuilder
fn clone(&self) -> SearchResourcesCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SearchResourcesCriteriaBuilder
impl Default for SearchResourcesCriteriaBuilder
source§fn default() -> SearchResourcesCriteriaBuilder
fn default() -> SearchResourcesCriteriaBuilder
source§impl PartialEq for SearchResourcesCriteriaBuilder
impl PartialEq for SearchResourcesCriteriaBuilder
source§fn eq(&self, other: &SearchResourcesCriteriaBuilder) -> bool
fn eq(&self, other: &SearchResourcesCriteriaBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchResourcesCriteriaBuilder
Auto Trait Implementations§
impl Freeze for SearchResourcesCriteriaBuilder
impl RefUnwindSafe for SearchResourcesCriteriaBuilder
impl Send for SearchResourcesCriteriaBuilder
impl Sync for SearchResourcesCriteriaBuilder
impl Unpin for SearchResourcesCriteriaBuilder
impl UnwindSafe for SearchResourcesCriteriaBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more