pub struct CheckpointView {
pub run_id: String,
pub ir_hash: Hash,
pub lockfile_digest: Hash,
pub params_snapshot: Value,
pub binding: BindingState,
pub completed: Vec<StepRecord>,
pub frames: Vec<CallFrame>,
pub frontier: Frontier,
pub human_pending: Option<HumanPending>,
}Expand description
The deterministic materialized view of a RunLog at a safe point (spine §6.6); always reconstructible by folding the log.
Fields§
§run_id: StringThe run this view materializes.
ir_hash: HashContent hash of the executing IR.
lockfile_digest: HashDigest of the capability lockfile the IR was bound against.
params_snapshot: ValueThe run’s input parameters, snapshotted at start.
binding: BindingStateProvider binding state.
completed: Vec<StepRecord>Records of all completed steps, in completion order.
frames: Vec<CallFrame>The live call stack; frames[0] is the root flow frame.
frontier: FrontierThe single in-flight step.
human_pending: Option<HumanPending>The pending human interaction, when suspended on one.
Trait Implementations§
Source§impl Clone for CheckpointView
impl Clone for CheckpointView
Source§fn clone(&self) -> CheckpointView
fn clone(&self) -> CheckpointView
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 CheckpointView
impl Debug for CheckpointView
Source§impl<'de> Deserialize<'de> for CheckpointView
impl<'de> Deserialize<'de> for CheckpointView
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
Source§impl JsonSchema for CheckpointView
impl JsonSchema for CheckpointView
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CheckpointView
impl PartialEq for CheckpointView
Source§impl Serialize for CheckpointView
impl Serialize for CheckpointView
impl StructuralPartialEq for CheckpointView
Auto Trait Implementations§
impl Freeze for CheckpointView
impl RefUnwindSafe for CheckpointView
impl Send for CheckpointView
impl Sync for CheckpointView
impl Unpin for CheckpointView
impl UnsafeUnpin for CheckpointView
impl UnwindSafe for CheckpointView
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