Struct aws_sdk_redshift::types::DataTransferProgress
source · #[non_exhaustive]pub struct DataTransferProgress {
pub status: Option<String>,
pub current_rate_in_mega_bytes_per_second: Option<f64>,
pub total_data_in_mega_bytes: Option<i64>,
pub data_transferred_in_mega_bytes: Option<i64>,
pub estimated_time_to_completion_in_seconds: Option<i64>,
pub elapsed_time_in_seconds: Option<i64>,
}
Expand description
Describes the status of a cluster while it is in the process of resizing with an incremental resize.
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<String>
Describes the status of the cluster. While the transfer is in progress the status is transferringdata
.
current_rate_in_mega_bytes_per_second: Option<f64>
Describes the data transfer rate in MB's per second.
total_data_in_mega_bytes: Option<i64>
Describes the total amount of data to be transfered in megabytes.
data_transferred_in_mega_bytes: Option<i64>
Describes the total amount of data that has been transfered in MB's.
estimated_time_to_completion_in_seconds: Option<i64>
Describes the estimated number of seconds remaining to complete the transfer.
elapsed_time_in_seconds: Option<i64>
Describes the number of seconds that have elapsed during the data transfer.
Implementations§
source§impl DataTransferProgress
impl DataTransferProgress
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Describes the status of the cluster. While the transfer is in progress the status is transferringdata
.
sourcepub fn current_rate_in_mega_bytes_per_second(&self) -> Option<f64>
pub fn current_rate_in_mega_bytes_per_second(&self) -> Option<f64>
Describes the data transfer rate in MB's per second.
sourcepub fn total_data_in_mega_bytes(&self) -> Option<i64>
pub fn total_data_in_mega_bytes(&self) -> Option<i64>
Describes the total amount of data to be transfered in megabytes.
sourcepub fn data_transferred_in_mega_bytes(&self) -> Option<i64>
pub fn data_transferred_in_mega_bytes(&self) -> Option<i64>
Describes the total amount of data that has been transfered in MB's.
sourcepub fn estimated_time_to_completion_in_seconds(&self) -> Option<i64>
pub fn estimated_time_to_completion_in_seconds(&self) -> Option<i64>
Describes the estimated number of seconds remaining to complete the transfer.
sourcepub fn elapsed_time_in_seconds(&self) -> Option<i64>
pub fn elapsed_time_in_seconds(&self) -> Option<i64>
Describes the number of seconds that have elapsed during the data transfer.
source§impl DataTransferProgress
impl DataTransferProgress
sourcepub fn builder() -> DataTransferProgressBuilder
pub fn builder() -> DataTransferProgressBuilder
Creates a new builder-style object to manufacture DataTransferProgress
.
Trait Implementations§
source§impl Clone for DataTransferProgress
impl Clone for DataTransferProgress
source§fn clone(&self) -> DataTransferProgress
fn clone(&self) -> DataTransferProgress
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataTransferProgress
impl Debug for DataTransferProgress
source§impl PartialEq for DataTransferProgress
impl PartialEq for DataTransferProgress
impl StructuralPartialEq for DataTransferProgress
Auto Trait Implementations§
impl Freeze for DataTransferProgress
impl RefUnwindSafe for DataTransferProgress
impl Send for DataTransferProgress
impl Sync for DataTransferProgress
impl Unpin for DataTransferProgress
impl UnwindSafe for DataTransferProgress
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