#[non_exhaustive]pub struct ReplicationRuleNotOperator {
pub prefix: Option<String>,
pub tag: Option<Tag>,
pub or: Option<ReplicationRuleOrOperator>,
}Expand description
A container for specifying a filter that excludes matching objects from the replication rule. Specify exactly one Prefix, Tag, or Or child element.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.prefix: Option<String>An object key name prefix that identifies objects to exclude from the replication rule.
tag: Option<Tag>A tag key and value that identify objects to exclude from the replication rule.
or: Option<ReplicationRuleOrOperator>A container for specifying prefixes and tags. An object is excluded from the replication rule if it matches any of the specified filters.
Implementations§
Source§impl ReplicationRuleNotOperator
impl ReplicationRuleNotOperator
Sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
An object key name prefix that identifies objects to exclude from the replication rule.
Sourcepub fn tag(&self) -> Option<&Tag>
pub fn tag(&self) -> Option<&Tag>
A tag key and value that identify objects to exclude from the replication rule.
Sourcepub fn or(&self) -> Option<&ReplicationRuleOrOperator>
pub fn or(&self) -> Option<&ReplicationRuleOrOperator>
A container for specifying prefixes and tags. An object is excluded from the replication rule if it matches any of the specified filters.
Source§impl ReplicationRuleNotOperator
impl ReplicationRuleNotOperator
Sourcepub fn builder() -> ReplicationRuleNotOperatorBuilder
pub fn builder() -> ReplicationRuleNotOperatorBuilder
Creates a new builder-style object to manufacture ReplicationRuleNotOperator.
Trait Implementations§
Source§impl Clone for ReplicationRuleNotOperator
impl Clone for ReplicationRuleNotOperator
Source§fn clone(&self) -> ReplicationRuleNotOperator
fn clone(&self) -> ReplicationRuleNotOperator
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReplicationRuleNotOperator
impl Debug for ReplicationRuleNotOperator
impl StructuralPartialEq for ReplicationRuleNotOperator
Auto Trait Implementations§
impl Freeze for ReplicationRuleNotOperator
impl RefUnwindSafe for ReplicationRuleNotOperator
impl Send for ReplicationRuleNotOperator
impl Sync for ReplicationRuleNotOperator
impl Unpin for ReplicationRuleNotOperator
impl UnsafeUnpin for ReplicationRuleNotOperator
impl UnwindSafe for ReplicationRuleNotOperator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more