pub struct JobInfo {Show 16 fields
pub id: u64,
pub queue: String,
pub status: JobStatus,
pub tags: Vec<String>,
pub created_at: Option<DateTime<Utc>>,
pub ended_at: Option<DateTime<Utc>>,
pub last_heartbeat: Option<DateTime<Utc>>,
pub input: Value,
pub output: Option<JobOutput>,
pub timeout: Duration,
pub heartbeat_timeout: Duration,
pub expires_after: Duration,
pub retries: u32,
pub retries_attempted: u32,
pub retry_delays: Option<Vec<Duration>>,
pub ended: bool,
}
Fields
id: u64
queue: String
status: JobStatus
created_at: Option<DateTime<Utc>>
ended_at: Option<DateTime<Utc>>
last_heartbeat: Option<DateTime<Utc>>
input: Value
output: Option<JobOutput>
timeout: Duration
heartbeat_timeout: Duration
expires_after: Duration
retries: u32
retries_attempted: u32
retry_delays: Option<Vec<Duration>>
ended: bool
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for JobInfo
impl<'de> Deserialize<'de> for JobInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for JobInfo
Auto Trait Implementations
impl RefUnwindSafe for JobInfo
impl Send for JobInfo
impl Sync for JobInfo
impl Unpin for JobInfo
impl UnwindSafe for JobInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self