Struct aws_sdk_s3::model::LifecycleRuleAndOperator [−][src]
#[non_exhaustive]pub struct LifecycleRuleAndOperator {
pub prefix: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.
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.prefix: Option<String>
Prefix identifying one or more objects to which the rule applies.
All of these tags must exist in the object's tag set in order for the rule to apply.
Implementations
Creates a new builder-style object to manufacture LifecycleRuleAndOperator
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LifecycleRuleAndOperator
impl Send for LifecycleRuleAndOperator
impl Sync for LifecycleRuleAndOperator
impl Unpin for LifecycleRuleAndOperator
impl UnwindSafe for LifecycleRuleAndOperator
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more