Struct aws_sdk_batch::types::EksAttemptContainerDetail
source · #[non_exhaustive]pub struct EksAttemptContainerDetail {
pub exit_code: Option<i32>,
pub reason: Option<String>,
}
Expand description
An object that represents the details for an attempt for a job attempt that an Amazon EKS container runs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.exit_code: Option<i32>
The exit code returned for the job attempt. A non-zero exit code is considered failed.
reason: Option<String>
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
Implementations§
source§impl EksAttemptContainerDetail
impl EksAttemptContainerDetail
sourcepub fn builder() -> EksAttemptContainerDetailBuilder
pub fn builder() -> EksAttemptContainerDetailBuilder
Creates a new builder-style object to manufacture EksAttemptContainerDetail
.
Trait Implementations§
source§impl Clone for EksAttemptContainerDetail
impl Clone for EksAttemptContainerDetail
source§fn clone(&self) -> EksAttemptContainerDetail
fn clone(&self) -> EksAttemptContainerDetail
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EksAttemptContainerDetail
impl Debug for EksAttemptContainerDetail
source§impl PartialEq for EksAttemptContainerDetail
impl PartialEq for EksAttemptContainerDetail
source§fn eq(&self, other: &EksAttemptContainerDetail) -> bool
fn eq(&self, other: &EksAttemptContainerDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksAttemptContainerDetail
Auto Trait Implementations§
impl Freeze for EksAttemptContainerDetail
impl RefUnwindSafe for EksAttemptContainerDetail
impl Send for EksAttemptContainerDetail
impl Sync for EksAttemptContainerDetail
impl Unpin for EksAttemptContainerDetail
impl UnwindSafe for EksAttemptContainerDetail
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.