pub struct Job {
pub class: String,
pub jid: String,
pub args: Vec<Value>,
pub created_at: Option<DateTime<UTC>>,
pub enqueued_at: DateTime<UTC>,
pub queue: String,
pub retry: BoolOrUSize,
pub at: Option<DateTime<UTC>>,
pub namespace: String,
pub retry_info: Option<RetryInfo>,
pub extra: BTreeMap<String, Value>,
}
Fields§
§class: String
§jid: String
§args: Vec<Value>
§created_at: Option<DateTime<UTC>>
§enqueued_at: DateTime<UTC>
§queue: String
§retry: BoolOrUSize
§at: Option<DateTime<UTC>>
§namespace: String
§retry_info: Option<RetryInfo>
§extra: BTreeMap<String, Value>
Implementations§
Trait Implementations§
Source§impl Deserialize for Job
impl Deserialize for Job
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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