#[non_exhaustive]pub struct RoutingProfileSearchCriteriaBuilder { /* private fields */ }
Expand description
A builder for RoutingProfileSearchCriteria
.
Implementations§
source§impl RoutingProfileSearchCriteriaBuilder
impl RoutingProfileSearchCriteriaBuilder
sourcepub fn or_conditions(self, input: RoutingProfileSearchCriteria) -> Self
pub fn or_conditions(self, input: RoutingProfileSearchCriteria) -> 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<RoutingProfileSearchCriteria>>
) -> Self
pub fn set_or_conditions( self, input: Option<Vec<RoutingProfileSearchCriteria>> ) -> Self
A list of conditions which would be applied together with an OR condition.
sourcepub fn get_or_conditions(&self) -> &Option<Vec<RoutingProfileSearchCriteria>>
pub fn get_or_conditions(&self) -> &Option<Vec<RoutingProfileSearchCriteria>>
A list of conditions which would be applied together with an OR condition.
sourcepub fn and_conditions(self, input: RoutingProfileSearchCriteria) -> Self
pub fn and_conditions(self, input: RoutingProfileSearchCriteria) -> 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<RoutingProfileSearchCriteria>>
) -> Self
pub fn set_and_conditions( self, input: Option<Vec<RoutingProfileSearchCriteria>> ) -> Self
A list of conditions which would be applied together with an AND condition.
sourcepub fn get_and_conditions(&self) -> &Option<Vec<RoutingProfileSearchCriteria>>
pub fn get_and_conditions(&self) -> &Option<Vec<RoutingProfileSearchCriteria>>
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
, description
, and resourceID
.
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
, description
, and resourceID
.
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
, description
, and resourceID
.
sourcepub fn build(self) -> RoutingProfileSearchCriteria
pub fn build(self) -> RoutingProfileSearchCriteria
Consumes the builder and constructs a RoutingProfileSearchCriteria
.
Trait Implementations§
source§impl Clone for RoutingProfileSearchCriteriaBuilder
impl Clone for RoutingProfileSearchCriteriaBuilder
source§fn clone(&self) -> RoutingProfileSearchCriteriaBuilder
fn clone(&self) -> RoutingProfileSearchCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RoutingProfileSearchCriteriaBuilder
impl Default for RoutingProfileSearchCriteriaBuilder
source§fn default() -> RoutingProfileSearchCriteriaBuilder
fn default() -> RoutingProfileSearchCriteriaBuilder
source§impl PartialEq for RoutingProfileSearchCriteriaBuilder
impl PartialEq for RoutingProfileSearchCriteriaBuilder
source§fn eq(&self, other: &RoutingProfileSearchCriteriaBuilder) -> bool
fn eq(&self, other: &RoutingProfileSearchCriteriaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RoutingProfileSearchCriteriaBuilder
Auto Trait Implementations§
impl Freeze for RoutingProfileSearchCriteriaBuilder
impl RefUnwindSafe for RoutingProfileSearchCriteriaBuilder
impl Send for RoutingProfileSearchCriteriaBuilder
impl Sync for RoutingProfileSearchCriteriaBuilder
impl Unpin for RoutingProfileSearchCriteriaBuilder
impl UnwindSafe for RoutingProfileSearchCriteriaBuilder
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