Struct aws_sdk_s3::model::ReplicationTime
source · [−]#[non_exhaustive]pub struct ReplicationTime {
pub status: Option<ReplicationTimeStatus>,
pub time: Option<ReplicationTimeValue>,
}
Expand description
A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics
block.
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.status: Option<ReplicationTimeStatus>
Specifies whether the replication time is enabled.
time: Option<ReplicationTimeValue>
A container specifying the time by which replication should be complete for all objects and operations on objects.
Implementations
sourceimpl ReplicationTime
impl ReplicationTime
sourcepub fn status(&self) -> Option<&ReplicationTimeStatus>
pub fn status(&self) -> Option<&ReplicationTimeStatus>
Specifies whether the replication time is enabled.
sourcepub fn time(&self) -> Option<&ReplicationTimeValue>
pub fn time(&self) -> Option<&ReplicationTimeValue>
A container specifying the time by which replication should be complete for all objects and operations on objects.
sourceimpl ReplicationTime
impl ReplicationTime
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicationTime
Trait Implementations
sourceimpl Clone for ReplicationTime
impl Clone for ReplicationTime
sourcefn clone(&self) -> ReplicationTime
fn clone(&self) -> ReplicationTime
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReplicationTime
impl Debug for ReplicationTime
sourceimpl PartialEq<ReplicationTime> for ReplicationTime
impl PartialEq<ReplicationTime> for ReplicationTime
sourcefn eq(&self, other: &ReplicationTime) -> bool
fn eq(&self, other: &ReplicationTime) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReplicationTime) -> bool
fn ne(&self, other: &ReplicationTime) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReplicationTime
Auto Trait Implementations
impl RefUnwindSafe for ReplicationTime
impl Send for ReplicationTime
impl Sync for ReplicationTime
impl Unpin for ReplicationTime
impl UnwindSafe for ReplicationTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more