Struct aws_sdk_s3::model::ReplicationRuleAndOperator
source · [−]#[non_exhaustive]pub struct ReplicationRuleAndOperator {
pub prefix: Option<String>,
pub tags: Option<Vec<Tag>>,
}Expand description
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
-
If you specify both a
Prefixand aTagfilter, wrap these filters in anAndtag. -
If you specify a filter based on multiple tags, wrap the
Tagelements in anAndtag.
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>An object key name prefix that identifies the subset of objects to which the rule applies.
An array of tags containing key and value pairs.
Implementations
Creates a new builder-style object to manufacture ReplicationRuleAndOperator
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 ReplicationRuleAndOperator
impl Send for ReplicationRuleAndOperator
impl Sync for ReplicationRuleAndOperator
impl Unpin for ReplicationRuleAndOperator
impl UnwindSafe for ReplicationRuleAndOperator
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