Struct aws_sdk_batch::model::JobSummary
source · [−]#[non_exhaustive]pub struct JobSummary {
pub job_arn: Option<String>,
pub job_id: Option<String>,
pub job_name: Option<String>,
pub created_at: i64,
pub status: Option<JobStatus>,
pub status_reason: Option<String>,
pub started_at: i64,
pub stopped_at: i64,
pub container: Option<ContainerSummary>,
pub array_properties: Option<ArrayPropertiesSummary>,
pub node_properties: Option<NodePropertiesSummary>,
pub job_definition: Option<String>,
}
Expand description
An object representing summary details of a job.
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.job_arn: Option<String>
The Amazon Resource Name (ARN) of the job.
job_id: Option<String>
The ID of the job.
job_name: Option<String>
The name of the job.
created_at: i64
The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED
state (at the time SubmitJob
was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.
status: Option<JobStatus>
The current status for the job.
status_reason: Option<String>
A short, human-readable string to provide additional details about the current status of the job.
started_at: i64
The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state).
stopped_at: i64
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
container: Option<ContainerSummary>
An object representing the details of the container that's associated with the job.
array_properties: Option<ArrayPropertiesSummary>
The array properties of the job, if it is an array job.
node_properties: Option<NodePropertiesSummary>
The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
job_definition: Option<String>
The Amazon Resource Name (ARN) of the job definition.
Implementations
sourceimpl JobSummary
impl JobSummary
sourcepub fn created_at(&self) -> i64
pub fn created_at(&self) -> i64
The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED
state (at the time SubmitJob
was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.
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.
sourcepub fn started_at(&self) -> i64
pub fn started_at(&self) -> i64
The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn stopped_at(&self) -> i64
pub fn stopped_at(&self) -> i64
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
sourcepub fn container(&self) -> Option<&ContainerSummary>
pub fn container(&self) -> Option<&ContainerSummary>
An object representing the details of the container that's associated with the job.
sourcepub fn array_properties(&self) -> Option<&ArrayPropertiesSummary>
pub fn array_properties(&self) -> Option<&ArrayPropertiesSummary>
The array properties of the job, if it is an array job.
sourcepub fn node_properties(&self) -> Option<&NodePropertiesSummary>
pub fn node_properties(&self) -> Option<&NodePropertiesSummary>
The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
sourcepub fn job_definition(&self) -> Option<&str>
pub fn job_definition(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the job definition.
sourceimpl JobSummary
impl JobSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobSummary
Trait Implementations
sourceimpl Clone for JobSummary
impl Clone for JobSummary
sourcefn clone(&self) -> JobSummary
fn clone(&self) -> JobSummary
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 JobSummary
impl Debug for JobSummary
sourceimpl PartialEq<JobSummary> for JobSummary
impl PartialEq<JobSummary> for JobSummary
sourcefn eq(&self, other: &JobSummary) -> bool
fn eq(&self, other: &JobSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobSummary) -> bool
fn ne(&self, other: &JobSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobSummary
Auto Trait Implementations
impl RefUnwindSafe for JobSummary
impl Send for JobSummary
impl Sync for JobSummary
impl Unpin for JobSummary
impl UnwindSafe for JobSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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