[][src]Struct rusoto_s3::ReplicationRuleFilter

pub struct ReplicationRuleFilter {
    pub and: Option<ReplicationRuleAndOperator>,
    pub prefix: Option<String>,
    pub tag: Option<Tag>,
}

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 a Tag filter, wrap these filters in an And tag.

  • If you specify a filter based on multiple tags, wrap the Tag elements in an And 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 Clone for ReplicationRuleFilter[src]

impl Default for ReplicationRuleFilter[src]

impl PartialEq<ReplicationRuleFilter> for ReplicationRuleFilter[src]

impl Debug for ReplicationRuleFilter[src]

impl StructuralPartialEq for ReplicationRuleFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self