[][src]Struct rusoto_iot::CancelJobRequest

pub struct CancelJobRequest {
    pub comment: Option<String>,
    pub force: Option<bool>,
    pub job_id: String,
    pub reason_code: Option<String>,


comment: Option<String>

An optional comment string describing why the job was canceled.

force: Option<bool>

(Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise only job executions with status "QUEUED" are canceled. The default is false.

Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.

job_id: String

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

reason_code: Option<String>

(Optional)A reason code string that explains why the job was canceled.

Trait Implementations

impl PartialEq<CancelJobRequest> for CancelJobRequest[src]

impl Clone for CancelJobRequest[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Default for CancelJobRequest[src]

impl Debug for CancelJobRequest[src]

impl Serialize for CancelJobRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self