Struct rusoto_iot_jobs_data::JobExecution
source · [−]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
sourceimpl Clone for JobExecution
impl Clone for JobExecution
sourcefn clone(&self) -> JobExecution
fn clone(&self) -> JobExecution
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 JobExecution
impl Debug for JobExecution
sourceimpl Default for JobExecution
impl Default for JobExecution
sourcefn default() -> JobExecution
fn default() -> JobExecution
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JobExecution
impl<'de> Deserialize<'de> for JobExecution
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<JobExecution> for JobExecution
impl PartialEq<JobExecution> for JobExecution
sourcefn eq(&self, other: &JobExecution) -> bool
fn eq(&self, other: &JobExecution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobExecution) -> bool
fn ne(&self, other: &JobExecution) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobExecution
Auto Trait Implementations
impl RefUnwindSafe for JobExecution
impl Send for JobExecution
impl Sync for JobExecution
impl Unpin for JobExecution
impl UnwindSafe for JobExecution
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> 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.
sourcefn clone_into(&self, target: &mut T)
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