pub struct WorkerView {Show 21 fields
pub unit: String,
pub claim_seq: i64,
pub holder: String,
pub pid: u32,
pub retry: bool,
pub worktree: String,
pub lane: String,
pub started_at: String,
pub ended_at: Option<String>,
pub outcome: String,
pub stage: String,
pub alive: Option<bool>,
pub log_bytes: Option<u64>,
pub log_quiet_s: Option<i64>,
pub files_changed: Option<u64>,
pub insertions: Option<u64>,
pub deletions: Option<u64>,
pub carried_over: Option<u64>,
pub stamped: Option<bool>,
pub detail: Option<String>,
pub error: Option<String>,
}Expand description
One attempt at a unit: its record, and — while it runs — what a probe found.
Fields§
§unit: String§claim_seq: i64§holder: String§pid: u32Also its process-group id.
retry: bool§worktree: String§lane: StringThe slug of the lane the attempt belongs to; empty in a job recorded before lanes existed.
started_at: String§ended_at: Option<String>§outcome: String§stage: Stringreading, editing, stamped, exited, unknown, queued,
gate, integrating, or the final outcome.
alive: Option<bool>§log_bytes: Option<u64>§log_quiet_s: Option<i64>§files_changed: Option<u64>§insertions: Option<u64>§deletions: Option<u64>§carried_over: Option<u64>§stamped: Option<bool>§detail: Option<String>Why the attempt ended, as the run recorded it.
error: Option<String>Why the worktree probe failed.
Implementations§
Trait Implementations§
Source§impl Clone for WorkerView
impl Clone for WorkerView
Source§impl Debug for WorkerView
impl Debug for WorkerView
Source§impl PartialEq for WorkerView
impl PartialEq for WorkerView
impl StructuralPartialEq for WorkerView
Auto Trait Implementations§
impl Forget for WorkerView
impl Freeze for WorkerView
impl Move for WorkerView
impl RefUnwindSafe for WorkerView
impl Send for WorkerView
impl Sync for WorkerView
impl Unpin for WorkerView
impl UnsafeUnpin for WorkerView
impl UnwindSafe for WorkerView
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