#[non_exhaustive]pub struct ReplicationTimeBuilder { /* private fields */ }
Expand description
A builder for ReplicationTime
.
Implementations§
Source§impl ReplicationTimeBuilder
impl ReplicationTimeBuilder
Sourcepub fn status(self, input: ReplicationTimeStatus) -> Self
pub fn status(self, input: ReplicationTimeStatus) -> Self
Specifies whether the replication time is enabled.
This field is required.Sourcepub fn set_status(self, input: Option<ReplicationTimeStatus>) -> Self
pub fn set_status(self, input: Option<ReplicationTimeStatus>) -> Self
Specifies whether the replication time is enabled.
Sourcepub fn get_status(&self) -> &Option<ReplicationTimeStatus>
pub fn get_status(&self) -> &Option<ReplicationTimeStatus>
Specifies whether the replication time is enabled.
Sourcepub fn time(self, input: ReplicationTimeValue) -> Self
pub fn time(self, input: ReplicationTimeValue) -> Self
A container specifying the time by which replication should be complete for all objects and operations on objects.
This field is required.Sourcepub fn set_time(self, input: Option<ReplicationTimeValue>) -> Self
pub fn set_time(self, input: Option<ReplicationTimeValue>) -> Self
A container specifying the time by which replication should be complete for all objects and operations on objects.
Sourcepub fn get_time(&self) -> &Option<ReplicationTimeValue>
pub fn get_time(&self) -> &Option<ReplicationTimeValue>
A container specifying the time by which replication should be complete for all objects and operations on objects.
Sourcepub fn build(self) -> Result<ReplicationTime, BuildError>
pub fn build(self) -> Result<ReplicationTime, BuildError>
Consumes the builder and constructs a ReplicationTime
.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for ReplicationTimeBuilder
impl Clone for ReplicationTimeBuilder
Source§fn clone(&self) -> ReplicationTimeBuilder
fn clone(&self) -> ReplicationTimeBuilder
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 ReplicationTimeBuilder
impl Debug for ReplicationTimeBuilder
Source§impl Default for ReplicationTimeBuilder
impl Default for ReplicationTimeBuilder
Source§fn default() -> ReplicationTimeBuilder
fn default() -> ReplicationTimeBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReplicationTimeBuilder
impl PartialEq for ReplicationTimeBuilder
impl StructuralPartialEq for ReplicationTimeBuilder
Auto Trait Implementations§
impl Freeze for ReplicationTimeBuilder
impl RefUnwindSafe for ReplicationTimeBuilder
impl Send for ReplicationTimeBuilder
impl Sync for ReplicationTimeBuilder
impl Unpin for ReplicationTimeBuilder
impl UnwindSafe for ReplicationTimeBuilder
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§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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.