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
source§fn eq(&self, other: &DataTransferProgress) -> bool
fn eq(&self, other: &DataTransferProgress) -> bool
self
and other
values to be equal, and is used
by ==
.