#[non_exhaustive]pub struct PredefinedAttributeSearchCriteriaBuilder { /* private fields */ }
Expand description
A builder for PredefinedAttributeSearchCriteria
.
Implementations§
source§impl PredefinedAttributeSearchCriteriaBuilder
impl PredefinedAttributeSearchCriteriaBuilder
sourcepub fn or_conditions(self, input: PredefinedAttributeSearchCriteria) -> Self
pub fn or_conditions(self, input: PredefinedAttributeSearchCriteria) -> Self
Appends an item to or_conditions
.
To override the contents of this collection use set_or_conditions
.
A list of conditions which would be applied together with an OR
condition.
sourcepub fn set_or_conditions(
self,
input: Option<Vec<PredefinedAttributeSearchCriteria>>
) -> Self
pub fn set_or_conditions( self, input: Option<Vec<PredefinedAttributeSearchCriteria>> ) -> Self
A list of conditions which would be applied together with an OR
condition.
sourcepub fn get_or_conditions(
&self
) -> &Option<Vec<PredefinedAttributeSearchCriteria>>
pub fn get_or_conditions( &self ) -> &Option<Vec<PredefinedAttributeSearchCriteria>>
A list of conditions which would be applied together with an OR
condition.
sourcepub fn and_conditions(self, input: PredefinedAttributeSearchCriteria) -> Self
pub fn and_conditions(self, input: PredefinedAttributeSearchCriteria) -> Self
Appends an item to and_conditions
.
To override the contents of this collection use set_and_conditions
.
A list of conditions which would be applied together with an AND
condition.
sourcepub fn set_and_conditions(
self,
input: Option<Vec<PredefinedAttributeSearchCriteria>>
) -> Self
pub fn set_and_conditions( self, input: Option<Vec<PredefinedAttributeSearchCriteria>> ) -> Self
A list of conditions which would be applied together with an AND
condition.
sourcepub fn get_and_conditions(
&self
) -> &Option<Vec<PredefinedAttributeSearchCriteria>>
pub fn get_and_conditions( &self ) -> &Option<Vec<PredefinedAttributeSearchCriteria>>
A list of conditions which would be applied together with an AND
condition.
sourcepub fn string_condition(self, input: StringCondition) -> Self
pub fn string_condition(self, input: StringCondition) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
and description
.
sourcepub fn set_string_condition(self, input: Option<StringCondition>) -> Self
pub fn set_string_condition(self, input: Option<StringCondition>) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
and description
.
sourcepub fn get_string_condition(&self) -> &Option<StringCondition>
pub fn get_string_condition(&self) -> &Option<StringCondition>
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
and description
.
sourcepub fn build(self) -> PredefinedAttributeSearchCriteria
pub fn build(self) -> PredefinedAttributeSearchCriteria
Consumes the builder and constructs a PredefinedAttributeSearchCriteria
.
Trait Implementations§
source§impl Clone for PredefinedAttributeSearchCriteriaBuilder
impl Clone for PredefinedAttributeSearchCriteriaBuilder
source§fn clone(&self) -> PredefinedAttributeSearchCriteriaBuilder
fn clone(&self) -> PredefinedAttributeSearchCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PredefinedAttributeSearchCriteriaBuilder
impl Default for PredefinedAttributeSearchCriteriaBuilder
source§fn default() -> PredefinedAttributeSearchCriteriaBuilder
fn default() -> PredefinedAttributeSearchCriteriaBuilder
source§impl PartialEq for PredefinedAttributeSearchCriteriaBuilder
impl PartialEq for PredefinedAttributeSearchCriteriaBuilder
source§fn eq(&self, other: &PredefinedAttributeSearchCriteriaBuilder) -> bool
fn eq(&self, other: &PredefinedAttributeSearchCriteriaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.