pub struct JobListItem {
pub id: Uuid,
pub queue: String,
pub job_type: String,
pub status: String,
pub run_at: DateTime<Utc>,
pub priority: i32,
pub max_attempts: i32,
pub last_error_code: Option<String>,
pub last_error_message: Option<String>,
pub dlq_reason_code: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Lightweight job summary model returned when listing jobs in Admin UI or APIs.
Fields§
§id: Uuid§queue: String§job_type: String§status: String§run_at: DateTime<Utc>§priority: i32§max_attempts: i32§last_error_code: Option<String>§last_error_message: Option<String>§dlq_reason_code: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for JobListItem
impl Clone for JobListItem
Source§fn clone(&self) -> JobListItem
fn clone(&self) -> JobListItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobListItem
impl Debug for JobListItem
Source§impl<'de> Deserialize<'de> for JobListItem
impl<'de> Deserialize<'de> for JobListItem
Source§fn 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
Auto Trait Implementations§
impl Freeze for JobListItem
impl RefUnwindSafe for JobListItem
impl Send for JobListItem
impl Sync for JobListItem
impl Unpin for JobListItem
impl UnsafeUnpin for JobListItem
impl UnwindSafe for JobListItem
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