Struct aws_sdk_redshift::model::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: i64,
pub data_transferred_in_mega_bytes: 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: i64
Describes the total amount of data to be transfered in megabytes.
data_transferred_in_mega_bytes: 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
sourceimpl 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) -> i64
pub fn total_data_in_mega_bytes(&self) -> i64
Describes the total amount of data to be transfered in megabytes.
sourcepub fn data_transferred_in_mega_bytes(&self) -> i64
pub fn data_transferred_in_mega_bytes(&self) -> 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.
sourceimpl DataTransferProgress
impl DataTransferProgress
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DataTransferProgress
Trait Implementations
sourceimpl Clone for DataTransferProgress
impl Clone for DataTransferProgress
sourcefn clone(&self) -> DataTransferProgress
fn clone(&self) -> DataTransferProgress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataTransferProgress
impl Debug for DataTransferProgress
sourceimpl PartialEq<DataTransferProgress> for DataTransferProgress
impl PartialEq<DataTransferProgress> for DataTransferProgress
sourcefn eq(&self, other: &DataTransferProgress) -> bool
fn eq(&self, other: &DataTransferProgress) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataTransferProgress) -> bool
fn ne(&self, other: &DataTransferProgress) -> bool
This method tests for !=
.
impl StructuralPartialEq for DataTransferProgress
Auto Trait Implementations
impl RefUnwindSafe for DataTransferProgress
impl Send for DataTransferProgress
impl Sync for DataTransferProgress
impl Unpin for DataTransferProgress
impl UnwindSafe for DataTransferProgress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more