pub struct JobDetail {
pub job: JobRecord,
pub events: Vec<Event>,
pub position: Option<usize>,
}Expand description
GET /api/v1/jobs/{id}: the job, its events so far and its place in the queue.
Fields§
§job: JobRecord§events: Vec<Event>§position: Option<usize>Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobDetail
impl<'de> Deserialize<'de> for JobDetail
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 Forget for JobDetail
impl Freeze for JobDetail
impl RefUnwindSafe for JobDetail
impl Send for JobDetail
impl Sync for JobDetail
impl Unpin for JobDetail
impl UnsafeUnpin for JobDetail
impl UnwindSafe for JobDetail
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