#[non_exhaustive]pub struct JobExecutionSummary {
pub job_id: Option<String>,
pub queued_at: i64,
pub started_at: Option<i64>,
pub last_updated_at: i64,
pub version_number: i64,
pub execution_number: Option<i64>,
}
Expand description
Contains a subset of information about 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.job_id: Option<String>
The unique identifier you assigned to this job when it was created.
queued_at: i64
The time, in milliseconds since the epoch, when the job execution was enqueued.
started_at: Option<i64>
The time, in milliseconds since the epoch, when the job execution started.
last_updated_at: i64
The time, in milliseconds since the epoch, when the job execution was last updated.
version_number: i64
The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives an update from a device.
execution_number: Option<i64>
A number that identifies a particular job execution on a particular device.
Implementations§
source§impl JobExecutionSummary
impl JobExecutionSummary
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique identifier you assigned to this job when it was created.
sourcepub fn queued_at(&self) -> i64
pub fn queued_at(&self) -> i64
The time, in milliseconds since the epoch, when the job execution was enqueued.
sourcepub fn started_at(&self) -> Option<i64>
pub fn started_at(&self) -> Option<i64>
The time, in milliseconds since the epoch, when the job execution started.
sourcepub fn last_updated_at(&self) -> i64
pub fn last_updated_at(&self) -> i64
The time, in milliseconds since the epoch, when the job execution was last updated.
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 AWS IoT Jobs receives an update from a device.
sourcepub fn execution_number(&self) -> Option<i64>
pub fn execution_number(&self) -> Option<i64>
A number that identifies a particular job execution on a particular device.
source§impl JobExecutionSummary
impl JobExecutionSummary
sourcepub fn builder() -> JobExecutionSummaryBuilder
pub fn builder() -> JobExecutionSummaryBuilder
Creates a new builder-style object to manufacture JobExecutionSummary
.
Trait Implementations§
source§impl Clone for JobExecutionSummary
impl Clone for JobExecutionSummary
source§fn clone(&self) -> JobExecutionSummary
fn clone(&self) -> JobExecutionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobExecutionSummary
impl Debug for JobExecutionSummary
source§impl PartialEq for JobExecutionSummary
impl PartialEq for JobExecutionSummary
source§fn eq(&self, other: &JobExecutionSummary) -> bool
fn eq(&self, other: &JobExecutionSummary) -> bool
self
and other
values to be equal, and is used
by ==
.