[][src]Struct iml_wire_types::Job

pub struct Job<T> {
    pub available_transitions: Vec<AvailableTransition>,
    pub cancelled: bool,
    pub class_name: String,
    pub commands: Vec<String>,
    pub created_at: String,
    pub description: String,
    pub errored: bool,
    pub id: u32,
    pub modified_at: String,
    pub read_locks: Vec<JobLock>,
    pub resource_uri: String,
    pub state: String,
    pub step_results: HashMap<String, T>,
    pub steps: Vec<String>,
    pub wait_for: Vec<String>,
    pub write_locks: Vec<JobLock>,
}

Fields

available_transitions: Vec<AvailableTransition>cancelled: boolclass_name: Stringcommands: Vec<String>created_at: Stringdescription: Stringerrored: boolid: u32modified_at: Stringread_locks: Vec<JobLock>resource_uri: Stringstate: Stringstep_results: HashMap<String, T>steps: Vec<String>wait_for: Vec<String>write_locks: Vec<JobLock>

Trait Implementations

impl<T: Clone> Clone for Job<T>[src]

impl<T: Debug> Debug for Job<T>[src]

impl<'de, T> Deserialize<'de> for Job<T> where
    T: Deserialize<'de>, 
[src]

impl<T> EndpointName for Job<T>[src]

impl<T> Serialize for Job<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Job<T> where
    T: RefUnwindSafe

impl<T> Send for Job<T> where
    T: Send

impl<T> Sync for Job<T> where
    T: Sync

impl<T> Unpin for Job<T> where
    T: Unpin

impl<T> UnwindSafe for Job<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> EndpointNameSelf for T where
    T: EndpointName
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> ToJsonValue for T where
    T: Serialize
[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.