pub struct NewRun {
pub run_id: Option<String>,
pub flow_id: FlowId,
pub ir_hash: Hash,
pub lockfile_digest: Hash,
pub params_snapshot: Value,
pub binding: BindingState,
pub created_at_ms: u64,
}Expand description
Parameters of Store::begin_run. The runStarted event is not
written here — the caller appends it (07 §3.1: the log is the truth;
begin_run only creates the run row the fold takes as RunMeta).
Fields§
§run_id: Option<String>Explicit run id; a UUIDv4 is generated when absent.
flow_id: FlowIdThe root flow’s id.
ir_hash: HashContent hash of the executing IR.
lockfile_digest: HashDigest of the bound capability lockfile.
params_snapshot: ValueThe run’s input parameters.
binding: BindingStateProvider binding seed (device, initial session lineage, cursor).
created_at_ms: u64Run creation timestamp (ms since epoch).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewRun
impl RefUnwindSafe for NewRun
impl Send for NewRun
impl Sync for NewRun
impl Unpin for NewRun
impl UnsafeUnpin for NewRun
impl UnwindSafe for NewRun
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