Struct aws_sdk_batch::types::ContainerSummary
source · #[non_exhaustive]pub struct ContainerSummary {
pub exit_code: Option<i32>,
pub reason: Option<String>,
}
Expand description
An object that represents summary details of a container within a job.
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 to return upon completion.
reason: Option<String>
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
Implementations§
source§impl ContainerSummary
impl ContainerSummary
sourcepub fn builder() -> ContainerSummaryBuilder
pub fn builder() -> ContainerSummaryBuilder
Creates a new builder-style object to manufacture ContainerSummary
.
Trait Implementations§
source§impl Clone for ContainerSummary
impl Clone for ContainerSummary
source§fn clone(&self) -> ContainerSummary
fn clone(&self) -> ContainerSummary
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 ContainerSummary
impl Debug for ContainerSummary
source§impl PartialEq for ContainerSummary
impl PartialEq for ContainerSummary
source§fn eq(&self, other: &ContainerSummary) -> bool
fn eq(&self, other: &ContainerSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerSummary
Auto Trait Implementations§
impl Freeze for ContainerSummary
impl RefUnwindSafe for ContainerSummary
impl Send for ContainerSummary
impl Sync for ContainerSummary
impl Unpin for ContainerSummary
impl UnwindSafe for ContainerSummary
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.