Struct aws_sdk_snowball::types::DataTransfer
source · #[non_exhaustive]pub struct DataTransfer {
pub bytes_transferred: i64,
pub objects_transferred: i64,
pub total_bytes: i64,
pub total_objects: i64,
}
Expand description
Defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a JobState
value of InProgress
, for both import and export jobs.
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.bytes_transferred: i64
The number of bytes transferred between a Snow device and Amazon S3.
objects_transferred: i64
The number of objects transferred between a Snow device and Amazon S3.
total_bytes: i64
The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
total_objects: i64
The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
Implementations§
source§impl DataTransfer
impl DataTransfer
sourcepub fn bytes_transferred(&self) -> i64
pub fn bytes_transferred(&self) -> i64
The number of bytes transferred between a Snow device and Amazon S3.
sourcepub fn objects_transferred(&self) -> i64
pub fn objects_transferred(&self) -> i64
The number of objects transferred between a Snow device and Amazon S3.
sourcepub fn total_bytes(&self) -> i64
pub fn total_bytes(&self) -> i64
The total bytes of data for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
sourcepub fn total_objects(&self) -> i64
pub fn total_objects(&self) -> i64
The total number of objects for a transfer between a Snow device and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.
source§impl DataTransfer
impl DataTransfer
sourcepub fn builder() -> DataTransferBuilder
pub fn builder() -> DataTransferBuilder
Creates a new builder-style object to manufacture DataTransfer
.
Trait Implementations§
source§impl Clone for DataTransfer
impl Clone for DataTransfer
source§fn clone(&self) -> DataTransfer
fn clone(&self) -> DataTransfer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataTransfer
impl Debug for DataTransfer
source§impl PartialEq for DataTransfer
impl PartialEq for DataTransfer
source§fn eq(&self, other: &DataTransfer) -> bool
fn eq(&self, other: &DataTransfer) -> bool
self
and other
values to be equal, and is used
by ==
.