pub struct RunCheckpoint {Show 13 fields
pub run_id: RunId,
pub task: String,
pub status: CheckpointStatus,
pub current_phase: u32,
pub completed_phases: Vec<PhaseSummary>,
pub agent_results: HashMap<AgentId, AgentResultCache>,
pub findings: Vec<Finding>,
pub total_tokens: u64,
pub created_at: u64,
pub updated_at: u64,
pub completed_spans: Vec<PhaseSpanSummary>,
pub workflow_meta: Option<Value>,
pub started_agent_ids: Vec<AgentId>,
}Expand description
Run state persisted to disk.
Fields§
§run_id: RunId§task: String§status: CheckpointStatus§current_phase: u32§completed_phases: Vec<PhaseSummary>§agent_results: HashMap<AgentId, AgentResultCache>§findings: Vec<Finding>§total_tokens: u64§created_at: u64§updated_at: u64§completed_spans: Vec<PhaseSpanSummary>§workflow_meta: Option<Value>§started_agent_ids: Vec<AgentId>Every agent_id that has received an AgentStarted event, in arrival
order. Used to compute “running” = started − done.
Trait Implementations§
Source§impl Clone for RunCheckpoint
impl Clone for RunCheckpoint
Source§fn clone(&self) -> RunCheckpoint
fn clone(&self) -> RunCheckpoint
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 moreSource§impl Debug for RunCheckpoint
impl Debug for RunCheckpoint
Source§impl<'de> Deserialize<'de> for RunCheckpoint
impl<'de> Deserialize<'de> for RunCheckpoint
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 RunCheckpoint
impl RefUnwindSafe for RunCheckpoint
impl Send for RunCheckpoint
impl Sync for RunCheckpoint
impl Unpin for RunCheckpoint
impl UnsafeUnpin for RunCheckpoint
impl UnwindSafe for RunCheckpoint
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