pub struct JobContext {
pub job_id: String,
pub attempt: u32,
pub created_at: DateTime<Utc>,
}Expand description
Context passed to job execution
Fields§
§job_id: String§attempt: u32§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for JobContext
impl Clone for JobContext
Source§fn clone(&self) -> JobContext
fn clone(&self) -> JobContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JobContext
impl RefUnwindSafe for JobContext
impl Send for JobContext
impl Sync for JobContext
impl Unpin for JobContext
impl UnwindSafe for JobContext
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