[][src]Struct rusoto_s3::ReplicationRule

pub struct ReplicationRule {
    pub delete_marker_replication: Option<DeleteMarkerReplication>,
    pub destination: Destination,
    pub filter: Option<ReplicationRuleFilter>,
    pub id: Option<String>,
    pub priority: Option<i64>,
    pub source_selection_criteria: Option<SourceSelectionCriteria>,
    pub status: String,
}

Specifies which Amazon S3 objects to replicate and where to store the replicas.

Fields

delete_marker_replication: Option<DeleteMarkerReplication>

destination: Destination

A container for information about the replication destination.

filter: Option<ReplicationRuleFilter>

id: Option<String>

A unique identifier for the rule. The maximum value is 255 characters.

priority: Option<i64>

The priority associated with the rule. If you specify multiple rules in a replication configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or more rules identify the same object based on a specified filter, the rule with higher priority takes precedence. For example:

For more information, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.

source_selection_criteria: Option<SourceSelectionCriteria>

A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using an AWS KMS-Managed Key (SSE-KMS).

status: String

Specifies whether the rule is enabled.

Trait Implementations

impl PartialEq<ReplicationRule> for ReplicationRule[src]

impl Default for ReplicationRule[src]

impl Clone for ReplicationRule[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ReplicationRule[src]

Auto Trait Implementations

impl Send for ReplicationRule

impl Sync for ReplicationRule

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self