[][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>,
}

Fields

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 Default for CancelJobRequest[src]

impl Clone for CancelJobRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CancelJobRequest[src]

impl Serialize for CancelJobRequest[src]

Auto Trait Implementations

impl Send for CancelJobRequest

impl Sync for CancelJobRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self