pub struct ArchivedJobInfo {
pub id: JobId,
pub queue_name: String,
pub status: JobStatus,
pub created_at: DateTime<Utc>,
pub archived_at: DateTime<Utc>,
pub archival_reason: ArchivalReason,
pub original_payload_size: Option<usize>,
pub payload_compressed: bool,
pub archived_by: Option<String>,
}Expand description
Archived job information for API responses
Fields§
§id: JobIdJob ID
queue_name: StringQueue name
status: JobStatusOriginal job status
created_at: DateTime<Utc>When the job was created
archived_at: DateTime<Utc>When the job was archived
archival_reason: ArchivalReasonReason for archival
original_payload_size: Option<usize>Original payload size in bytes
payload_compressed: boolWhether the payload was compressed
archived_by: Option<String>Who archived the job
Trait Implementations§
Source§impl Debug for ArchivedJobInfo
impl Debug for ArchivedJobInfo
Source§impl From<ArchivedJob> for ArchivedJobInfo
impl From<ArchivedJob> for ArchivedJobInfo
Source§fn from(archived_job: ArchivedJob) -> Self
fn from(archived_job: ArchivedJob) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArchivedJobInfo
impl RefUnwindSafe for ArchivedJobInfo
impl Send for ArchivedJobInfo
impl Sync for ArchivedJobInfo
impl Unpin for ArchivedJobInfo
impl UnwindSafe for ArchivedJobInfo
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> 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 more