#[non_exhaustive]pub struct ReplicationStatsBuilder { /* private fields */ }
Expand description
A builder for ReplicationStats
.
Implementations§
source§impl ReplicationStatsBuilder
impl ReplicationStatsBuilder
sourcepub fn full_load_progress_percent(self, input: i32) -> Self
pub fn full_load_progress_percent(self, input: i32) -> Self
The percent complete for the full load serverless replication.
sourcepub fn set_full_load_progress_percent(self, input: Option<i32>) -> Self
pub fn set_full_load_progress_percent(self, input: Option<i32>) -> Self
The percent complete for the full load serverless replication.
sourcepub fn get_full_load_progress_percent(&self) -> &Option<i32>
pub fn get_full_load_progress_percent(&self) -> &Option<i32>
The percent complete for the full load serverless replication.
sourcepub fn elapsed_time_millis(self, input: i64) -> Self
pub fn elapsed_time_millis(self, input: i64) -> Self
The elapsed time of the replication, in milliseconds.
sourcepub fn set_elapsed_time_millis(self, input: Option<i64>) -> Self
pub fn set_elapsed_time_millis(self, input: Option<i64>) -> Self
The elapsed time of the replication, in milliseconds.
sourcepub fn get_elapsed_time_millis(&self) -> &Option<i64>
pub fn get_elapsed_time_millis(&self) -> &Option<i64>
The elapsed time of the replication, in milliseconds.
sourcepub fn tables_loaded(self, input: i32) -> Self
pub fn tables_loaded(self, input: i32) -> Self
The number of tables loaded for this replication.
sourcepub fn set_tables_loaded(self, input: Option<i32>) -> Self
pub fn set_tables_loaded(self, input: Option<i32>) -> Self
The number of tables loaded for this replication.
sourcepub fn get_tables_loaded(&self) -> &Option<i32>
pub fn get_tables_loaded(&self) -> &Option<i32>
The number of tables loaded for this replication.
sourcepub fn tables_loading(self, input: i32) -> Self
pub fn tables_loading(self, input: i32) -> Self
The number of tables currently loading for this replication.
sourcepub fn set_tables_loading(self, input: Option<i32>) -> Self
pub fn set_tables_loading(self, input: Option<i32>) -> Self
The number of tables currently loading for this replication.
sourcepub fn get_tables_loading(&self) -> &Option<i32>
pub fn get_tables_loading(&self) -> &Option<i32>
The number of tables currently loading for this replication.
sourcepub fn tables_queued(self, input: i32) -> Self
pub fn tables_queued(self, input: i32) -> Self
The number of tables queued for this replication.
sourcepub fn set_tables_queued(self, input: Option<i32>) -> Self
pub fn set_tables_queued(self, input: Option<i32>) -> Self
The number of tables queued for this replication.
sourcepub fn get_tables_queued(&self) -> &Option<i32>
pub fn get_tables_queued(&self) -> &Option<i32>
The number of tables queued for this replication.
sourcepub fn tables_errored(self, input: i32) -> Self
pub fn tables_errored(self, input: i32) -> Self
The number of errors that have occured for this replication.
sourcepub fn set_tables_errored(self, input: Option<i32>) -> Self
pub fn set_tables_errored(self, input: Option<i32>) -> Self
The number of errors that have occured for this replication.
sourcepub fn get_tables_errored(&self) -> &Option<i32>
pub fn get_tables_errored(&self) -> &Option<i32>
The number of errors that have occured for this replication.
sourcepub fn fresh_start_date(self, input: DateTime) -> Self
pub fn fresh_start_date(self, input: DateTime) -> Self
The date the replication was started either with a fresh start or a target reload.
sourcepub fn set_fresh_start_date(self, input: Option<DateTime>) -> Self
pub fn set_fresh_start_date(self, input: Option<DateTime>) -> Self
The date the replication was started either with a fresh start or a target reload.
sourcepub fn get_fresh_start_date(&self) -> &Option<DateTime>
pub fn get_fresh_start_date(&self) -> &Option<DateTime>
The date the replication was started either with a fresh start or a target reload.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The date the replication is scheduled to start.
sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
The date the replication is scheduled to start.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
The date the replication is scheduled to start.
sourcepub fn set_stop_date(self, input: Option<DateTime>) -> Self
pub fn set_stop_date(self, input: Option<DateTime>) -> Self
The date the replication was stopped.
sourcepub fn get_stop_date(&self) -> &Option<DateTime>
pub fn get_stop_date(&self) -> &Option<DateTime>
The date the replication was stopped.
sourcepub fn full_load_start_date(self, input: DateTime) -> Self
pub fn full_load_start_date(self, input: DateTime) -> Self
The date the replication full load was started.
sourcepub fn set_full_load_start_date(self, input: Option<DateTime>) -> Self
pub fn set_full_load_start_date(self, input: Option<DateTime>) -> Self
The date the replication full load was started.
sourcepub fn get_full_load_start_date(&self) -> &Option<DateTime>
pub fn get_full_load_start_date(&self) -> &Option<DateTime>
The date the replication full load was started.
sourcepub fn full_load_finish_date(self, input: DateTime) -> Self
pub fn full_load_finish_date(self, input: DateTime) -> Self
The date the replication full load was finished.
sourcepub fn set_full_load_finish_date(self, input: Option<DateTime>) -> Self
pub fn set_full_load_finish_date(self, input: Option<DateTime>) -> Self
The date the replication full load was finished.
sourcepub fn get_full_load_finish_date(&self) -> &Option<DateTime>
pub fn get_full_load_finish_date(&self) -> &Option<DateTime>
The date the replication full load was finished.
sourcepub fn build(self) -> ReplicationStats
pub fn build(self) -> ReplicationStats
Consumes the builder and constructs a ReplicationStats
.
Trait Implementations§
source§impl Clone for ReplicationStatsBuilder
impl Clone for ReplicationStatsBuilder
source§fn clone(&self) -> ReplicationStatsBuilder
fn clone(&self) -> ReplicationStatsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationStatsBuilder
impl Debug for ReplicationStatsBuilder
source§impl Default for ReplicationStatsBuilder
impl Default for ReplicationStatsBuilder
source§fn default() -> ReplicationStatsBuilder
fn default() -> ReplicationStatsBuilder
source§impl PartialEq for ReplicationStatsBuilder
impl PartialEq for ReplicationStatsBuilder
impl StructuralPartialEq for ReplicationStatsBuilder
Auto Trait Implementations§
impl Freeze for ReplicationStatsBuilder
impl RefUnwindSafe for ReplicationStatsBuilder
impl Send for ReplicationStatsBuilder
impl Sync for ReplicationStatsBuilder
impl Unpin for ReplicationStatsBuilder
impl UnwindSafe for ReplicationStatsBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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