Struct aws_sdk_batch::types::AttemptDetail
source · #[non_exhaustive]pub struct AttemptDetail {
pub container: Option<AttemptContainerDetail>,
pub started_at: Option<i64>,
pub stopped_at: Option<i64>,
pub status_reason: Option<String>,
}
Expand description
An object that represents a job attempt.
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.container: Option<AttemptContainerDetail>
The details for the container in this job attempt.
started_at: Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
stopped_at: Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
status_reason: Option<String>
A short, human-readable string to provide additional details for the current status of the job attempt.
Implementations§
source§impl AttemptDetail
impl AttemptDetail
sourcepub fn container(&self) -> Option<&AttemptContainerDetail>
pub fn container(&self) -> Option<&AttemptContainerDetail>
The details for the container in this job attempt.
sourcepub fn started_at(&self) -> Option<i64>
pub fn started_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn stopped_at(&self) -> Option<i64>
pub fn stopped_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
A short, human-readable string to provide additional details for the current status of the job attempt.
source§impl AttemptDetail
impl AttemptDetail
sourcepub fn builder() -> AttemptDetailBuilder
pub fn builder() -> AttemptDetailBuilder
Creates a new builder-style object to manufacture AttemptDetail
.
Trait Implementations§
source§impl Clone for AttemptDetail
impl Clone for AttemptDetail
source§fn clone(&self) -> AttemptDetail
fn clone(&self) -> AttemptDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttemptDetail
impl Debug for AttemptDetail
source§impl PartialEq<AttemptDetail> for AttemptDetail
impl PartialEq<AttemptDetail> for AttemptDetail
source§fn eq(&self, other: &AttemptDetail) -> bool
fn eq(&self, other: &AttemptDetail) -> bool
self
and other
values to be equal, and is used
by ==
.