#[non_exhaustive]pub struct CancelDataRepositoryTaskOutput {
pub lifecycle: Option<DataRepositoryTaskLifecycle>,
pub task_id: Option<String>,
/* private fields */
}
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.lifecycle: Option<DataRepositoryTaskLifecycle>
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
task_id: Option<String>
The ID of the task being canceled.
Implementations§
source§impl CancelDataRepositoryTaskOutput
impl CancelDataRepositoryTaskOutput
sourcepub fn lifecycle(&self) -> Option<&DataRepositoryTaskLifecycle>
pub fn lifecycle(&self) -> Option<&DataRepositoryTaskLifecycle>
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
source§impl CancelDataRepositoryTaskOutput
impl CancelDataRepositoryTaskOutput
sourcepub fn builder() -> CancelDataRepositoryTaskOutputBuilder
pub fn builder() -> CancelDataRepositoryTaskOutputBuilder
Creates a new builder-style object to manufacture CancelDataRepositoryTaskOutput
.
Trait Implementations§
source§impl Clone for CancelDataRepositoryTaskOutput
impl Clone for CancelDataRepositoryTaskOutput
source§fn clone(&self) -> CancelDataRepositoryTaskOutput
fn clone(&self) -> CancelDataRepositoryTaskOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CancelDataRepositoryTaskOutput
impl PartialEq for CancelDataRepositoryTaskOutput
source§fn eq(&self, other: &CancelDataRepositoryTaskOutput) -> bool
fn eq(&self, other: &CancelDataRepositoryTaskOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CancelDataRepositoryTaskOutput
impl RequestId for CancelDataRepositoryTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CancelDataRepositoryTaskOutput
Auto Trait Implementations§
impl Freeze for CancelDataRepositoryTaskOutput
impl RefUnwindSafe for CancelDataRepositoryTaskOutput
impl Send for CancelDataRepositoryTaskOutput
impl Sync for CancelDataRepositoryTaskOutput
impl Unpin for CancelDataRepositoryTaskOutput
impl UnwindSafe for CancelDataRepositoryTaskOutput
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