pub struct RunSnapshot {Show 26 fields
pub run_id: String,
pub definition_digest: String,
pub semantics_digest: String,
pub status: StrategyRunStatus,
pub sequence: u64,
pub input: Value,
pub active_states: BTreeSet<String>,
pub completed_states: BTreeSet<String>,
pub state_visits: BTreeMap<String, u64>,
pub join_arrivals: BTreeMap<String, JoinLedger>,
pub input_plan: InputPlan,
pub shared: BTreeMap<String, SharedResourceState>,
pub bindings: BTreeMap<String, InputBinding>,
pub actor_sessions: BTreeMap<String, String>,
pub slot_ordinals: BTreeMap<String, u8>,
pub slot_candidate_counts: BTreeMap<String, u8>,
pub attempt_lineage: BTreeMap<String, u8>,
pub merge_sources: BTreeMap<String, String>,
pub fallbacks: Vec<FallbackReceipt>,
pub conversation_id: Option<String>,
pub assistant_membership_id: Option<String>,
pub route_receipt: Option<Value>,
pub cwd: Option<String>,
pub pending_callbacks: Vec<PendingCallback>,
pub commands: BTreeMap<String, RunCommand>,
pub diagnostic_code: Option<String>,
}Fields§
§run_id: String§definition_digest: String§semantics_digest: String§status: StrategyRunStatus§sequence: u64§input: Value§active_states: BTreeSet<String>§completed_states: BTreeSet<String>§state_visits: BTreeMap<String, u64>§join_arrivals: BTreeMap<String, JoinLedger>Per-visit arrivals, so an old visit of a predecessor can never satisfy a new join round.
input_plan: InputPlanThe run’s declared causal input plan.
Versioned shared state. Reading it without naming a revision is not expressible: the only readers are bindings, and a binding records one.
bindings: BTreeMap<String, InputBinding>The exact binding every entered node visit received.
actor_sessions: BTreeMap<String, String>§slot_ordinals: BTreeMap<String, u8>§slot_candidate_counts: BTreeMap<String, u8>§attempt_lineage: BTreeMap<String, u8>§merge_sources: BTreeMap<String, String>§fallbacks: Vec<FallbackReceipt>§conversation_id: Option<String>The Conversation this run answers to, when it is conversation-bound.
assistant_membership_id: Option<String>The Assistant Membership this run answers to.
route_receipt: Option<Value>The committed route receipt recorded at admission.
cwd: Option<String>§pending_callbacks: Vec<PendingCallback>Callback-mode edges whose targets wait for the master agent’s decision, in the deterministic order the waits were entered. The decision event always settles the first entry.
commands: BTreeMap<String, RunCommand>§diagnostic_code: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RunSnapshot
impl Clone for RunSnapshot
Source§impl Debug for RunSnapshot
impl Debug for RunSnapshot
Source§impl<'de> Deserialize<'de> for RunSnapshot
impl<'de> Deserialize<'de> for RunSnapshot
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 PartialEq for RunSnapshot
impl PartialEq for RunSnapshot
Source§impl Serialize for RunSnapshot
impl Serialize for RunSnapshot
impl StructuralPartialEq for RunSnapshot
Auto Trait Implementations§
impl Forget for RunSnapshot
impl Freeze for RunSnapshot
impl Move for RunSnapshot
impl RefUnwindSafe for RunSnapshot
impl Send for RunSnapshot
impl Sync for RunSnapshot
impl Unpin for RunSnapshot
impl UnsafeUnpin for RunSnapshot
impl UnwindSafe for RunSnapshot
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