Struct UpdateJobExecutionReq
pub(super) struct UpdateJobExecutionReq {
pub(super) status: JobStatus,
pub(super) details: Option<HashMap<String, String>>,
pub(super) expected_version: i32,
pub(super) execution: Option<i64>,
pub(super) include_job_state: Option<bool>,
pub(super) include_job_doc: Option<bool>,
pub(super) step_timeout_min: Option<i64>,
pub(super) token: Option<String>,
}Fields§
§status: JobStatus§details: Option<HashMap<String, String>>§expected_version: i32§execution: Option<i64>§include_job_state: Option<bool>When included and set to true, the response contains the
JobExecutionState field. The default is false.
include_job_doc: Option<bool>When included and set to true, the response contains the JobDocument.
The default is false.
step_timeout_min: Option<i64>Specifies the amount of time this device has to finish execution of this
job. If the job execution status is not set to a terminal state before
this timer expires, or before the timer is reset, the job execution
status is set to TIMED_OUT. Setting or resetting this timeout has no
effect on the job execution timeout that might have been specified when
the job was created.
token: Option<String>Implementations§
Trait Implementations§
§impl Clone for UpdateJobExecutionReq
impl Clone for UpdateJobExecutionReq
§fn clone(&self) -> UpdateJobExecutionReq
fn clone(&self) -> UpdateJobExecutionReq
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for UpdateJobExecutionReq
impl Debug for UpdateJobExecutionReq
§impl<'de> Deserialize<'de> for UpdateJobExecutionReq
impl<'de> Deserialize<'de> for UpdateJobExecutionReq
§fn 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
§impl Serialize for UpdateJobExecutionReq
impl Serialize for UpdateJobExecutionReq
Auto Trait Implementations§
impl Freeze for UpdateJobExecutionReq
impl RefUnwindSafe for UpdateJobExecutionReq
impl Send for UpdateJobExecutionReq
impl Sync for UpdateJobExecutionReq
impl Unpin for UpdateJobExecutionReq
impl UnwindSafe for UpdateJobExecutionReq
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more