[][src]Struct zeebest::ActivatedJob

pub struct ActivatedJob {
    pub key: i64,
    pub field_type: String,
    pub custom_headers: String,
    pub worker: String,
    pub retries: i32,
    pub deadline: i64,
    pub variables: String,
}

Describes an activate zeebe job. Use this to do work and respond with completion or failure.

Fields

key: i64

the key, a unique identifier for the job

field_type: String

the type of the job (should match what was requested)

custom_headers: String

a set of custom headers defined during modelling; returned as a serialized JSON document

worker: String

the name of the worker which activated this job

retries: i32

the amount of retries left to this job (should always be positive)

deadline: i64

when the job can be activated again, sent as a UNIX epoch timestamp

variables: String

JSON document, computed at activation time, consisting of all visible variables to the task scope

Trait Implementations

impl Clone for ActivatedJob[src]

impl Debug for ActivatedJob[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T