[−][src]Struct rusoto_s3::ReplicationRuleFilter
A filter that identifies the subset of objects to which the replication rule applies. A Filter
must specify exactly one Prefix
, Tag
, or an And
child element.
Fields
and: Option<ReplicationRuleAndOperator>
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.
prefix: Option<String>
An object keyname prefix that identifies the subset of objects to which the rule applies.
tag: Option<Tag>
A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.
Trait Implementations
impl PartialEq<ReplicationRuleFilter> for ReplicationRuleFilter
[src]
fn eq(&self, other: &ReplicationRuleFilter) -> bool
[src]
fn ne(&self, other: &ReplicationRuleFilter) -> bool
[src]
impl Default for ReplicationRuleFilter
[src]
fn default() -> ReplicationRuleFilter
[src]
impl Clone for ReplicationRuleFilter
[src]
fn clone(&self) -> ReplicationRuleFilter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ReplicationRuleFilter
[src]
Auto Trait Implementations
impl Send for ReplicationRuleFilter
impl Sync for ReplicationRuleFilter
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self