pub struct RunSnapshot {
pub run_id: RunId,
pub agent_id: AgentId,
pub source: SourceRef,
pub status: RunRegistryStatus,
pub runtime_package_id: RuntimePackageId,
pub runtime_package_fingerprint: RuntimePackageFingerprint,
pub provider_route_id: String,
pub provider_model_id: String,
pub cancellation_requested: bool,
}Expand description
Holds run snapshot application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§run_id: RunIdRun identifier used for lineage, filtering, replay, and dedupe.
agent_id: AgentIdAgent identifier used for lineage, filtering, and ownership checks.
source: SourceRefSource label or ref for this item; it is metadata and does not fetch content by itself.
status: RunRegistryStatusFinite status for this record or lifecycle stage.
runtime_package_id: RuntimePackageIdStable runtime package id used for typed lineage, lookup, or dedupe.
runtime_package_fingerprint: RuntimePackageFingerprintFingerprint of the runtime package snapshot in force when this value was produced. Use it for replay, dedupe, and package-lineage checks; the field is evidence and does not execute package behavior.
provider_route_id: StringStable provider route id used for typed lineage, lookup, or dedupe.
provider_model_id: StringStable provider model id used for typed lineage, lookup, or dedupe.
cancellation_requested: boolWhether cancellation requested is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
Trait Implementations§
Source§impl Clone for RunSnapshot
impl Clone for RunSnapshot
Source§fn clone(&self) -> RunSnapshot
fn clone(&self) -> RunSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RunSnapshot
impl Debug for RunSnapshot
Source§impl PartialEq for RunSnapshot
impl PartialEq for RunSnapshot
Source§fn eq(&self, other: &RunSnapshot) -> bool
fn eq(&self, other: &RunSnapshot) -> bool
self and other values to be equal, and is used by ==.