Struct rusoto_s3::ReplicationRuleFilter [−][src]
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 key name 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]
fn clone(&self) -> ReplicationRuleFilter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReplicationRuleFilter
[src]
impl Default for ReplicationRuleFilter
[src]
fn default() -> ReplicationRuleFilter
[src]
impl PartialEq<ReplicationRuleFilter> for ReplicationRuleFilter
[src]
fn eq(&self, other: &ReplicationRuleFilter) -> bool
[src]
fn ne(&self, other: &ReplicationRuleFilter) -> bool
[src]
impl StructuralPartialEq for ReplicationRuleFilter
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReplicationRuleFilter
impl Send for ReplicationRuleFilter
impl Sync for ReplicationRuleFilter
impl Unpin for ReplicationRuleFilter
impl UnwindSafe for ReplicationRuleFilter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,