Struct aws_sdk_s3::types::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
Prefix
and aTag
filter, wrap these filters in anAnd
tag. -
If you specify a filter based on multiple tags, wrap the
Tag
elements in anAnd
tag.
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§
source§impl ReplicationRuleAndOperator
impl ReplicationRuleAndOperator
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ReplicationRuleAndOperator
impl ReplicationRuleAndOperator
sourcepub fn builder() -> ReplicationRuleAndOperatorBuilder
pub fn builder() -> ReplicationRuleAndOperatorBuilder
Creates a new builder-style object to manufacture ReplicationRuleAndOperator
.
Trait Implementations§
source§impl Clone for ReplicationRuleAndOperator
impl Clone for ReplicationRuleAndOperator
source§fn clone(&self) -> ReplicationRuleAndOperator
fn clone(&self) -> ReplicationRuleAndOperator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationRuleAndOperator
impl Debug for ReplicationRuleAndOperator
impl StructuralPartialEq for ReplicationRuleAndOperator
Auto Trait Implementations§
impl Freeze for ReplicationRuleAndOperator
impl RefUnwindSafe for ReplicationRuleAndOperator
impl Send for ReplicationRuleAndOperator
impl Sync for ReplicationRuleAndOperator
impl Unpin for ReplicationRuleAndOperator
impl UnwindSafe for ReplicationRuleAndOperator
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)