pub struct Job {
pub summary: JobSummary,
pub timeline: Vec<JobEvent>,
pub raw_state: Value,
}Expand description
Full job record returned by JobsRoot::get. Carries the
summary, the parsed timeline, and the raw state.json value
for callers that want to drill into fields this module doesn’t
type explicitly.
Fields§
§summary: JobSummarySame shape as JobsRoot::list returns.
timeline: Vec<JobEvent>One entry per line in timeline.jsonl, in file order.
raw_state: ValueVerbatim parsed state.json. Use this to access fields not
covered by JobSummary (e.g. inFlight.tasks,
respawnFlags, tempo).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin 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