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

impl Default for CancelJobRequest[src]

impl PartialEq<CancelJobRequest> for CancelJobRequest[src]

impl Debug for CancelJobRequest[src]

impl Serialize for CancelJobRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,