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§
§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.
Trait Implementations§
Source§impl Clone for ReplicationRuleAndOperator
impl Clone for ReplicationRuleAndOperator
Source§fn clone(&self) -> ReplicationRuleAndOperator
fn clone(&self) -> ReplicationRuleAndOperator
Returns a duplicate 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 ReplicationRuleAndOperator
impl Debug for ReplicationRuleAndOperator
Source§impl Default for ReplicationRuleAndOperator
impl Default for ReplicationRuleAndOperator
Source§fn default() -> ReplicationRuleAndOperator
fn default() -> ReplicationRuleAndOperator
Returns the “default value” for a type. Read more
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
Mutably borrows from an owned value. Read more