Struct aws_sdk_s3::types::ReplicationTime
source · #[non_exhaustive]pub struct ReplicationTime {
pub status: 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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status: 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§
source§impl ReplicationTime
impl ReplicationTime
sourcepub fn status(&self) -> &ReplicationTimeStatus
pub fn status(&self) -> &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.
source§impl ReplicationTime
impl ReplicationTime
sourcepub fn builder() -> ReplicationTimeBuilder
pub fn builder() -> ReplicationTimeBuilder
Creates a new builder-style object to manufacture ReplicationTime
.
Trait Implementations§
source§impl Clone for ReplicationTime
impl Clone for ReplicationTime
source§fn clone(&self) -> ReplicationTime
fn clone(&self) -> ReplicationTime
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReplicationTime
impl Debug for ReplicationTime
source§impl PartialEq for ReplicationTime
impl PartialEq for ReplicationTime
impl StructuralPartialEq for ReplicationTime
Auto Trait Implementations§
impl Freeze for ReplicationTime
impl RefUnwindSafe for ReplicationTime
impl Send for ReplicationTime
impl Sync for ReplicationTime
impl Unpin for ReplicationTime
impl UnwindSafe for ReplicationTime
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Creates a shared type from an unshared type.