Struct aws_sdk_fsx::types::DataRepositoryTaskStatus
source · #[non_exhaustive]pub struct DataRepositoryTaskStatus {
pub total_count: Option<i64>,
pub succeeded_count: Option<i64>,
pub failed_count: Option<i64>,
pub last_updated_time: Option<DateTime>,
pub released_capacity: Option<i64>,
}
Expand description
Provides the task status showing a running total of the total number of files to be processed, the number successfully processed, and the number of files the task failed to process.
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.total_count: Option<i64>
The total number of files that the task will process. While a task is executing, the sum of SucceededCount
plus FailedCount
may not equal TotalCount
. When the task is complete, TotalCount
equals the sum of SucceededCount
plus FailedCount
.
succeeded_count: Option<i64>
A running total of the number of files that the task has successfully processed.
failed_count: Option<i64>
A running total of the number of files that the task failed to process.
last_updated_time: Option<DateTime>
The time at which the task status was last updated.
released_capacity: Option<i64>
The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
Implementations§
source§impl DataRepositoryTaskStatus
impl DataRepositoryTaskStatus
sourcepub fn total_count(&self) -> Option<i64>
pub fn total_count(&self) -> Option<i64>
The total number of files that the task will process. While a task is executing, the sum of SucceededCount
plus FailedCount
may not equal TotalCount
. When the task is complete, TotalCount
equals the sum of SucceededCount
plus FailedCount
.
sourcepub fn succeeded_count(&self) -> Option<i64>
pub fn succeeded_count(&self) -> Option<i64>
A running total of the number of files that the task has successfully processed.
sourcepub fn failed_count(&self) -> Option<i64>
pub fn failed_count(&self) -> Option<i64>
A running total of the number of files that the task failed to process.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time at which the task status was last updated.
sourcepub fn released_capacity(&self) -> Option<i64>
pub fn released_capacity(&self) -> Option<i64>
The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
source§impl DataRepositoryTaskStatus
impl DataRepositoryTaskStatus
sourcepub fn builder() -> DataRepositoryTaskStatusBuilder
pub fn builder() -> DataRepositoryTaskStatusBuilder
Creates a new builder-style object to manufacture DataRepositoryTaskStatus
.
Trait Implementations§
source§impl Clone for DataRepositoryTaskStatus
impl Clone for DataRepositoryTaskStatus
source§fn clone(&self) -> DataRepositoryTaskStatus
fn clone(&self) -> DataRepositoryTaskStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataRepositoryTaskStatus
impl Debug for DataRepositoryTaskStatus
source§impl PartialEq for DataRepositoryTaskStatus
impl PartialEq for DataRepositoryTaskStatus
source§fn eq(&self, other: &DataRepositoryTaskStatus) -> bool
fn eq(&self, other: &DataRepositoryTaskStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataRepositoryTaskStatus
Auto Trait Implementations§
impl Freeze for DataRepositoryTaskStatus
impl RefUnwindSafe for DataRepositoryTaskStatus
impl Send for DataRepositoryTaskStatus
impl Sync for DataRepositoryTaskStatus
impl Unpin for DataRepositoryTaskStatus
impl UnwindSafe for DataRepositoryTaskStatus
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> 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