logo
pub struct JobExecution {
    pub approximate_seconds_before_timed_out: Option<i64>,
    pub execution_number: Option<i64>,
    pub job_document: Option<String>,
    pub job_id: Option<String>,
    pub last_updated_at: Option<i64>,
    pub queued_at: Option<i64>,
    pub started_at: Option<i64>,
    pub status: Option<String>,
    pub status_details: Option<HashMap<String, String>>,
    pub thing_name: Option<String>,
    pub version_number: Option<i64>,
}
Expand description

Contains data about a job execution.

Fields

approximate_seconds_before_timed_out: Option<i64>

The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.

execution_number: Option<i64>

A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.

job_document: Option<String>

The content of the job document.

job_id: Option<String>

The unique identifier you assigned to this job when it was created.

last_updated_at: Option<i64>

The time, in milliseconds since the epoch, when the job execution was last updated.

queued_at: Option<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 was started.

status: Option<String>

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.

thing_name: Option<String>

The name of the thing that is executing the job.

version_number: Option<i64>

The version of the job execution. Job execution versions are incremented each time they are updated by a device.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more