Struct aws_sdk_ecs::operation::run_task::RunTaskOutput
source · #[non_exhaustive]pub struct RunTaskOutput {
pub tasks: Option<Vec<Task>>,
pub failures: Option<Vec<Failure>>,
/* 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.tasks: Option<Vec<Task>>
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
failures: Option<Vec<Failure>>
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
Implementations§
source§impl RunTaskOutput
impl RunTaskOutput
sourcepub fn tasks(&self) -> &[Task]
pub fn tasks(&self) -> &[Task]
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tasks.is_none()
.
sourcepub fn failures(&self) -> &[Failure]
pub fn failures(&self) -> &[Failure]
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failures.is_none()
.
source§impl RunTaskOutput
impl RunTaskOutput
sourcepub fn builder() -> RunTaskOutputBuilder
pub fn builder() -> RunTaskOutputBuilder
Creates a new builder-style object to manufacture RunTaskOutput
.
Trait Implementations§
source§impl Clone for RunTaskOutput
impl Clone for RunTaskOutput
source§fn clone(&self) -> RunTaskOutput
fn clone(&self) -> RunTaskOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RunTaskOutput
impl Debug for RunTaskOutput
source§impl PartialEq for RunTaskOutput
impl PartialEq for RunTaskOutput
source§fn eq(&self, other: &RunTaskOutput) -> bool
fn eq(&self, other: &RunTaskOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for RunTaskOutput
impl RequestId for RunTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for RunTaskOutput
Auto Trait Implementations§
impl Freeze for RunTaskOutput
impl RefUnwindSafe for RunTaskOutput
impl Send for RunTaskOutput
impl Sync for RunTaskOutput
impl Unpin for RunTaskOutput
impl UnwindSafe for RunTaskOutput
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