pub struct Job {
pub id: String,
pub queue: String,
pub payload: Value,
pub attempts: u32,
}Expand description
A job, claimed for processing.
Fields§
§id: StringThe backend’s identifier for it.
queue: StringWhich queue it is in, such as delivery.
payload: ValueWhat the job is, as the code that queued it wrote it.
attempts: u32How many times it has been tried before.
Trait Implementations§
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more