[−][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 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 PartialEq<ReplicationRuleFilter> for ReplicationRuleFilter
[src]
fn eq(&self, other: &ReplicationRuleFilter) -> bool
[src]
fn ne(&self, other: &ReplicationRuleFilter) -> bool
[src]
impl Debug for ReplicationRuleFilter
[src]
Auto Trait Implementations
impl Send for ReplicationRuleFilter
impl Sync for ReplicationRuleFilter
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self