#[non_exhaustive]pub struct AttributeAndConditionBuilder { /* private fields */ }
Expand description
A builder for AttributeAndCondition
.
Implementations§
source§impl AttributeAndConditionBuilder
impl AttributeAndConditionBuilder
sourcepub fn tag_conditions(self, input: TagCondition) -> Self
pub fn tag_conditions(self, input: TagCondition) -> Self
Appends an item to tag_conditions
.
To override the contents of this collection use set_tag_conditions
.
A leaf node condition which can be used to specify a tag condition.
sourcepub fn set_tag_conditions(self, input: Option<Vec<TagCondition>>) -> Self
pub fn set_tag_conditions(self, input: Option<Vec<TagCondition>>) -> Self
A leaf node condition which can be used to specify a tag condition.
sourcepub fn get_tag_conditions(&self) -> &Option<Vec<TagCondition>>
pub fn get_tag_conditions(&self) -> &Option<Vec<TagCondition>>
A leaf node condition which can be used to specify a tag condition.
sourcepub fn hierarchy_group_condition(self, input: HierarchyGroupCondition) -> Self
pub fn hierarchy_group_condition(self, input: HierarchyGroupCondition) -> Self
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn set_hierarchy_group_condition(
self,
input: Option<HierarchyGroupCondition>
) -> Self
pub fn set_hierarchy_group_condition( self, input: Option<HierarchyGroupCondition> ) -> Self
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn get_hierarchy_group_condition(&self) -> &Option<HierarchyGroupCondition>
pub fn get_hierarchy_group_condition(&self) -> &Option<HierarchyGroupCondition>
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn build(self) -> AttributeAndCondition
pub fn build(self) -> AttributeAndCondition
Consumes the builder and constructs a AttributeAndCondition
.
Trait Implementations§
source§impl Clone for AttributeAndConditionBuilder
impl Clone for AttributeAndConditionBuilder
source§fn clone(&self) -> AttributeAndConditionBuilder
fn clone(&self) -> AttributeAndConditionBuilder
Returns a copy 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 Debug for AttributeAndConditionBuilder
impl Debug for AttributeAndConditionBuilder
source§impl Default for AttributeAndConditionBuilder
impl Default for AttributeAndConditionBuilder
source§fn default() -> AttributeAndConditionBuilder
fn default() -> AttributeAndConditionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AttributeAndConditionBuilder
impl PartialEq for AttributeAndConditionBuilder
source§fn eq(&self, other: &AttributeAndConditionBuilder) -> bool
fn eq(&self, other: &AttributeAndConditionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeAndConditionBuilder
Auto Trait Implementations§
impl Freeze for AttributeAndConditionBuilder
impl RefUnwindSafe for AttributeAndConditionBuilder
impl Send for AttributeAndConditionBuilder
impl Sync for AttributeAndConditionBuilder
impl Unpin for AttributeAndConditionBuilder
impl UnwindSafe for AttributeAndConditionBuilder
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> 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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.