Struct aws_sdk_batch::model::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 representing 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>Details about 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 about the current status of the job attempt.
Implementations
sourceimpl AttemptDetail
impl AttemptDetail
sourcepub fn container(&self) -> Option<&AttemptContainerDetail>
pub fn container(&self) -> Option<&AttemptContainerDetail>
Details about 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 about the current status of the job attempt.
sourceimpl AttemptDetail
impl AttemptDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttemptDetail.
Trait Implementations
sourceimpl Clone for AttemptDetail
impl Clone for AttemptDetail
sourcefn clone(&self) -> AttemptDetail
fn clone(&self) -> AttemptDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AttemptDetail
impl Debug for AttemptDetail
sourceimpl PartialEq<AttemptDetail> for AttemptDetail
impl PartialEq<AttemptDetail> for AttemptDetail
sourcefn eq(&self, other: &AttemptDetail) -> bool
fn eq(&self, other: &AttemptDetail) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AttemptDetail) -> bool
fn ne(&self, other: &AttemptDetail) -> bool
This method tests for !=.
impl StructuralPartialEq for AttemptDetail
Auto Trait Implementations
impl RefUnwindSafe for AttemptDetail
impl Send for AttemptDetail
impl Sync for AttemptDetail
impl Unpin for AttemptDetail
impl UnwindSafe for AttemptDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more