[−][src]Struct zeebest::ActivateJobs
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]
worker: S1,
job_type: S2,
timeout: i64,
max_jobs_to_activate: i32
) -> Self
Trait Implementations
impl Eq for ActivateJobs
[src]
impl Clone for ActivateJobs
[src]
fn clone(&self) -> ActivateJobs
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ActivateJobs> for ActivateJobs
[src]
fn eq(&self, other: &ActivateJobs) -> bool
[src]
fn ne(&self, other: &ActivateJobs) -> bool
[src]
impl Hash for ActivateJobs
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Debug for ActivateJobs
[src]
Auto Trait Implementations
impl Send for ActivateJobs
impl Unpin for ActivateJobs
impl Sync for ActivateJobs
impl UnwindSafe for ActivateJobs
impl RefUnwindSafe for ActivateJobs
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,