Struct aws_sdk_backup::model::Conditions
source · [−]#[non_exhaustive]pub struct Conditions {
pub string_equals: Option<Vec<ConditionParameter>>,
pub string_not_equals: Option<Vec<ConditionParameter>>,
pub string_like: Option<Vec<ConditionParameter>>,
pub string_not_like: Option<Vec<ConditionParameter>>,
}
Expand description
Contains information about which resources to include or exclude from a backup plan using their tags. Conditions are case sensitive.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.string_equals: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
string_not_equals: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
string_like: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
string_not_like: Option<Vec<ConditionParameter>>
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
Implementations
sourceimpl Conditions
impl Conditions
sourcepub fn string_equals(&self) -> Option<&[ConditionParameter]>
pub fn string_equals(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
sourcepub fn string_not_equals(&self) -> Option<&[ConditionParameter]>
pub fn string_not_equals(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
sourcepub fn string_like(&self) -> Option<&[ConditionParameter]>
pub fn string_like(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
sourcepub fn string_not_like(&self) -> Option<&[ConditionParameter]>
pub fn string_not_like(&self) -> Option<&[ConditionParameter]>
Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
sourceimpl Conditions
impl Conditions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Conditions
Trait Implementations
sourceimpl Clone for Conditions
impl Clone for Conditions
sourcefn clone(&self) -> Conditions
fn clone(&self) -> Conditions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Conditions
impl Debug for Conditions
sourceimpl PartialEq<Conditions> for Conditions
impl PartialEq<Conditions> for Conditions
sourcefn eq(&self, other: &Conditions) -> bool
fn eq(&self, other: &Conditions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Conditions) -> bool
fn ne(&self, other: &Conditions) -> bool
This method tests for !=
.
impl StructuralPartialEq for Conditions
Auto Trait Implementations
impl RefUnwindSafe for Conditions
impl Send for Conditions
impl Sync for Conditions
impl Unpin for Conditions
impl UnwindSafe for Conditions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more