pub struct JobSnapshot {
pub job_id: JobId,
pub session_id: SessionId,
pub state: JobState,
pub agent: String,
pub parent_job_id: Option<JobId>,
pub last_event_seq: u64,
}Expand description
Public projection of JobEntry returned by JobRegistry::snapshot.
Fields§
§job_id: JobIdJob identifier.
session_id: SessionIdOriginating session.
state: JobStateCurrent state.
agent: StringAgent reference (name or name@version) the job is running.
parent_job_id: Option<JobId>Parent job id for delegated / child jobs.
last_event_seq: u64Highest event sequence emitted for this job.
Trait Implementations§
Source§impl Clone for JobSnapshot
impl Clone for JobSnapshot
Source§fn clone(&self) -> JobSnapshot
fn clone(&self) -> JobSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JobSnapshot
impl RefUnwindSafe for JobSnapshot
impl Send for JobSnapshot
impl Sync for JobSnapshot
impl Unpin for JobSnapshot
impl UnsafeUnpin for JobSnapshot
impl UnwindSafe for JobSnapshot
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