Struct aws_sdk_connect::types::AttributeAndCondition
source · #[non_exhaustive]pub struct AttributeAndCondition {
pub tag_conditions: Option<Vec<TagCondition>>,
pub hierarchy_group_condition: Option<HierarchyGroupCondition>,
}
Expand description
A list of conditions which would be applied together with an AND
condition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.tag_conditions: Option<Vec<TagCondition>>
A leaf node condition which can be used to specify a tag condition.
hierarchy_group_condition: Option<HierarchyGroupCondition>
A leaf node condition which can be used to specify a hierarchy group condition.
Implementations§
source§impl AttributeAndCondition
impl AttributeAndCondition
sourcepub fn tag_conditions(&self) -> &[TagCondition]
pub fn tag_conditions(&self) -> &[TagCondition]
A leaf node condition which can be used to specify a tag condition.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_conditions.is_none()
.
sourcepub fn hierarchy_group_condition(&self) -> Option<&HierarchyGroupCondition>
pub fn hierarchy_group_condition(&self) -> Option<&HierarchyGroupCondition>
A leaf node condition which can be used to specify a hierarchy group condition.
source§impl AttributeAndCondition
impl AttributeAndCondition
sourcepub fn builder() -> AttributeAndConditionBuilder
pub fn builder() -> AttributeAndConditionBuilder
Creates a new builder-style object to manufacture AttributeAndCondition
.
Trait Implementations§
source§impl Clone for AttributeAndCondition
impl Clone for AttributeAndCondition
source§fn clone(&self) -> AttributeAndCondition
fn clone(&self) -> AttributeAndCondition
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 AttributeAndCondition
impl Debug for AttributeAndCondition
source§impl PartialEq for AttributeAndCondition
impl PartialEq for AttributeAndCondition
source§fn eq(&self, other: &AttributeAndCondition) -> bool
fn eq(&self, other: &AttributeAndCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeAndCondition
Auto Trait Implementations§
impl Freeze for AttributeAndCondition
impl RefUnwindSafe for AttributeAndCondition
impl Send for AttributeAndCondition
impl Sync for AttributeAndCondition
impl Unpin for AttributeAndCondition
impl UnwindSafe for AttributeAndCondition
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>
Creates a shared type from an unshared type.