pub struct WorkerRun {Show 18 fields
pub id: String,
pub role: Role,
pub feature_id: Option<String>,
pub milestone_id: Option<String>,
pub candidate: Option<CandidateLink>,
pub sdk_session_id: String,
pub model: String,
pub backend: Option<BackendKind>,
pub quant: String,
pub weight_hash: Option<String>,
pub started_at: DateTime<Utc>,
pub ended_at: Option<DateTime<Utc>>,
pub tokens: TokenUsage,
pub cost_usd: Option<f64>,
pub transcript_path: String,
pub result: Option<RunResult>,
pub report: Option<WorkerReport>,
pub prompt_hash: String,
}Fields§
§id: String§role: Role§feature_id: Option<String>Feature this run worked on (workers) — validators have milestone_id instead.
milestone_id: Option<String>§candidate: Option<CandidateLink>Sibling-candidate linkage when this run is one stream of a
heterogeneous dispatch pool (KRZ-303). Absent on ordinary runs (and in
every pre-pool state snapshot); None never hits the wire.
sdk_session_id: StringClaude Code session id (UUID chosen by the engine, used for –resume).
model: String§backend: Option<BackendKind>Resolved dispatch backend, including fallback. Unknown in older logs.
quant: StringQuantization of the model weights used for this run (provenance).
weight_hash: Option<String>Hash of the model weights used for this run, when known (provenance).
started_at: DateTime<Utc>§ended_at: Option<DateTime<Utc>>§tokens: TokenUsage§cost_usd: Option<f64>Cost as reported by the CLI result message when available, else estimated.
transcript_path: StringRelative path (under the mission dir) of the run transcript JSONL.
result: Option<RunResult>§report: Option<WorkerReport>§prompt_hash: StringHash of the role prompt file used (traceability, plan §4.6).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkerRun
impl<'de> Deserialize<'de> for WorkerRun
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 Freeze for WorkerRun
impl RefUnwindSafe for WorkerRun
impl Send for WorkerRun
impl Sync for WorkerRun
impl Unpin for WorkerRun
impl UnsafeUnpin for WorkerRun
impl UnwindSafe for WorkerRun
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