pub struct JobDetails {
pub id: String,
pub method_name: String,
pub queue: String,
pub state: JobState,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub attempts: u32,
pub max_attempts: u32,
pub error_message: Option<String>,
pub scheduled_at: Option<DateTime<Utc>>,
pub duration_ms: Option<u64>,
}Fields§
§id: String§method_name: String§queue: String§state: JobState§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§attempts: u32§max_attempts: u32§error_message: Option<String>§scheduled_at: Option<DateTime<Utc>>§duration_ms: Option<u64>Trait Implementations§
Source§impl Clone for JobDetails
impl Clone for JobDetails
Source§fn clone(&self) -> JobDetails
fn clone(&self) -> JobDetails
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 moreSource§impl Debug for JobDetails
impl Debug for JobDetails
Source§impl<'de> Deserialize<'de> for JobDetails
impl<'de> Deserialize<'de> for JobDetails
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 JobDetails
impl RefUnwindSafe for JobDetails
impl Send for JobDetails
impl Sync for JobDetails
impl Unpin for JobDetails
impl UnwindSafe for JobDetails
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