[][src]Struct zeebest::ActivateJobs

pub struct ActivateJobs {
    pub worker: String,
    pub job_type: String,
    pub timeout: i64,
    pub max_jobs_to_activate: i32,
}

An object used to activate jobs on the broker.

Fields

worker: String

the name of the worker activating the jobs, mostly used for logging purposes

job_type: String

the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)

timeout: i64

a job returned after this call will not be activated by another call until the timeout has been reached

max_jobs_to_activate: i32

the maximum jobs to activate by this request

Methods

impl ActivateJobs[src]

pub fn new<S1: Into<String>, S2: Into<String>>(
    worker: S1,
    job_type: S2,
    timeout: i64,
    max_jobs_to_activate: i32
) -> Self
[src]

Trait Implementations

impl Eq for ActivateJobs[src]

impl Clone for ActivateJobs[src]

impl PartialEq<ActivateJobs> for ActivateJobs[src]

impl Hash for ActivateJobs[src]

impl Debug for ActivateJobs[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