#[non_exhaustive]pub struct CommonAttributeAndConditionBuilder { /* private fields */ }Expand description
A builder for CommonAttributeAndCondition.
Implementations§
source§impl CommonAttributeAndConditionBuilder
impl CommonAttributeAndConditionBuilder
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 build(self) -> CommonAttributeAndCondition
pub fn build(self) -> CommonAttributeAndCondition
Consumes the builder and constructs a CommonAttributeAndCondition.
Trait Implementations§
source§impl Clone for CommonAttributeAndConditionBuilder
impl Clone for CommonAttributeAndConditionBuilder
source§fn clone(&self) -> CommonAttributeAndConditionBuilder
fn clone(&self) -> CommonAttributeAndConditionBuilder
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 Default for CommonAttributeAndConditionBuilder
impl Default for CommonAttributeAndConditionBuilder
source§fn default() -> CommonAttributeAndConditionBuilder
fn default() -> CommonAttributeAndConditionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CommonAttributeAndConditionBuilder
impl PartialEq for CommonAttributeAndConditionBuilder
source§fn eq(&self, other: &CommonAttributeAndConditionBuilder) -> bool
fn eq(&self, other: &CommonAttributeAndConditionBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommonAttributeAndConditionBuilder
Auto Trait Implementations§
impl Freeze for CommonAttributeAndConditionBuilder
impl RefUnwindSafe for CommonAttributeAndConditionBuilder
impl Send for CommonAttributeAndConditionBuilder
impl Sync for CommonAttributeAndConditionBuilder
impl Unpin for CommonAttributeAndConditionBuilder
impl UnwindSafe for CommonAttributeAndConditionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.