pub struct FailedJobBrief {
pub id: String,
pub queue: String,
pub job_type: String,
pub error: String,
pub attempts: u32,
pub max_attempts: u32,
pub failed_at: DateTime<Utc>,
}Expand description
A failed job without its payload, as an overview lists it.
Fields§
§id: StringThe job id.
queue: StringThe queue it was on.
job_type: StringThe job type.
error: StringThe error of the last attempt.
attempts: u32How many attempts ran.
max_attempts: u32How many it could have.
failed_at: DateTime<Utc>When it failed.
Trait Implementations§
Source§impl Clone for FailedJobBrief
impl Clone for FailedJobBrief
Source§impl Debug for FailedJobBrief
impl Debug for FailedJobBrief
impl Eq for FailedJobBrief
Source§impl From<&FailedJob> for FailedJobBrief
impl From<&FailedJob> for FailedJobBrief
Source§fn from(job: &FailedJob) -> FailedJobBrief
fn from(job: &FailedJob) -> FailedJobBrief
Converts to this type from the input type.
Source§impl PartialEq for FailedJobBrief
impl PartialEq for FailedJobBrief
Source§impl Serialize for FailedJobBrief
impl Serialize for FailedJobBrief
impl StructuralPartialEq for FailedJobBrief
Auto Trait Implementations§
impl Forget for FailedJobBrief
impl Freeze for FailedJobBrief
impl Move for FailedJobBrief
impl RefUnwindSafe for FailedJobBrief
impl Send for FailedJobBrief
impl Sync for FailedJobBrief
impl Unpin for FailedJobBrief
impl UnsafeUnpin for FailedJobBrief
impl UnwindSafe for FailedJobBrief
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ValueFor<Option<T>> for T
impl<T> ValueFor<Option<T>> for T
Source§fn into_value_for(self) -> Option<T>
fn into_value_for(self) -> Option<T>
The value as the column’s type.