pub struct RawJob {
pub id: JobId,
pub job_type: String,
pub queue: String,
pub payload: Vec<u8>,
pub attempts: u32,
pub max_retries: u32,
pub scheduled_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub error: Option<String>,
}Fields§
§id: JobId§job_type: String§queue: String§payload: Vec<u8>§attempts: u32§max_retries: u32§scheduled_at: DateTime<Utc>§created_at: DateTime<Utc>§error: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawJob
impl<'de> Deserialize<'de> for RawJob
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 RawJob
impl RefUnwindSafe for RawJob
impl Send for RawJob
impl Sync for RawJob
impl Unpin for RawJob
impl UnsafeUnpin for RawJob
impl UnwindSafe for RawJob
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