pub struct RunProjection {Show 13 fields
pub run_id: String,
pub initial_plan: String,
pub current_plan: String,
pub initial_binding_context: String,
pub current_binding_context: String,
pub epoch: u64,
pub status: RunStatus,
pub scopes: BTreeMap<String, ScopeProjection>,
pub effects: BTreeMap<String, EffectProjection>,
pub obligations: BTreeMap<String, ObligationProjection>,
pub attempts: BTreeMap<String, AttemptProjection>,
pub result: Option<ArtifactRef>,
pub last_event: String,
}Expand description
Rebuildable Run projection.
Fields§
§run_id: StringRun identity.
initial_plan: StringInitial immutable plan.
current_plan: StringCurrent semantic plan. Plan migration is not implemented in profile 1.
initial_binding_context: StringInitial realization default.
current_binding_context: StringFuture-occurrence realization default.
epoch: u64Fencing epoch.
status: RunStatusPublic Run status.
scopes: BTreeMap<String, ScopeProjection>Scope projections.
effects: BTreeMap<String, EffectProjection>Effect projections.
obligations: BTreeMap<String, ObligationProjection>Outstanding or settled obligations.
attempts: BTreeMap<String, AttemptProjection>Attempt projections.
result: Option<ArtifactRef>Optional terminal Result.
last_event: StringLast applied event in the embedded linear frontier.
Implementations§
Source§impl RunProjection
impl RunProjection
Sourcepub fn precondition_token(&self) -> String
pub fn precondition_token(&self) -> String
Current stale-action protection token.
Trait Implementations§
Source§impl Clone for RunProjection
impl Clone for RunProjection
Source§impl Debug for RunProjection
impl Debug for RunProjection
Source§impl<'de> Deserialize<'de> for RunProjection
impl<'de> Deserialize<'de> for RunProjection
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
impl Eq for RunProjection
Source§impl PartialEq for RunProjection
impl PartialEq for RunProjection
Source§impl Serialize for RunProjection
impl Serialize for RunProjection
impl StructuralPartialEq for RunProjection
Auto Trait Implementations§
impl Freeze for RunProjection
impl RefUnwindSafe for RunProjection
impl Send for RunProjection
impl Sync for RunProjection
impl Unpin for RunProjection
impl UnsafeUnpin for RunProjection
impl UnwindSafe for RunProjection
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