Struct aws_sdk_iotjobsdataplane::types::JobExecutionState
source · #[non_exhaustive]pub struct JobExecutionState {
pub status: Option<JobExecutionStatus>,
pub status_details: Option<HashMap<String, String>>,
pub version_number: i64,
}
Expand description
Contains data about the state of a job execution.
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.status: Option<JobExecutionStatus>
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
status_details: Option<HashMap<String, String>>
A collection of name/value pairs that describe the status of the job execution.
version_number: i64
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
Implementations§
source§impl JobExecutionState
impl JobExecutionState
sourcepub fn status(&self) -> Option<&JobExecutionStatus>
pub fn status(&self) -> Option<&JobExecutionStatus>
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
sourcepub fn status_details(&self) -> Option<&HashMap<String, String>>
pub fn status_details(&self) -> Option<&HashMap<String, String>>
A collection of name/value pairs that describe the status of the job execution.
sourcepub fn version_number(&self) -> i64
pub fn version_number(&self) -> i64
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
source§impl JobExecutionState
impl JobExecutionState
sourcepub fn builder() -> JobExecutionStateBuilder
pub fn builder() -> JobExecutionStateBuilder
Creates a new builder-style object to manufacture JobExecutionState
.
Trait Implementations§
source§impl Clone for JobExecutionState
impl Clone for JobExecutionState
source§fn clone(&self) -> JobExecutionState
fn clone(&self) -> JobExecutionState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobExecutionState
impl Debug for JobExecutionState
source§impl PartialEq for JobExecutionState
impl PartialEq for JobExecutionState
source§fn eq(&self, other: &JobExecutionState) -> bool
fn eq(&self, other: &JobExecutionState) -> bool
self
and other
values to be equal, and is used
by ==
.