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.