pub struct WorkflowCheckpointState {
pub workflow: String,
pub workflow_version: u32,
pub layout: Vec<StepId>,
pub next_index: usize,
pub value: Value,
pub outputs: BTreeMap<StepId, Value>,
pub usage: Usage,
pub phase: WorkflowCheckpointPhase,
}Expand description
Versioned workflow state stored in a domain-neutral checkpoint envelope.
Fields§
§workflow: StringStable workflow definition name.
workflow_version: u32Caller-managed definition version.
layout: Vec<StepId>Ordered node layout used to reject incompatible definitions.
next_index: usizeIndex of the next node to execute.
value: ValueCanonical value presented to the next node.
outputs: BTreeMap<StepId, Value>Stable outputs of all completed nodes.
usage: UsageShared usage snapshot at persistence time.
phase: WorkflowCheckpointPhaseCurrent recovery phase.
Trait Implementations§
Source§impl Clone for WorkflowCheckpointState
impl Clone for WorkflowCheckpointState
Source§fn clone(&self) -> WorkflowCheckpointState
fn clone(&self) -> WorkflowCheckpointState
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 WorkflowCheckpointState
impl Debug for WorkflowCheckpointState
Source§impl<'de> Deserialize<'de> for WorkflowCheckpointState
impl<'de> Deserialize<'de> for WorkflowCheckpointState
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 WorkflowCheckpointState
impl PartialEq for WorkflowCheckpointState
Source§impl Serialize for WorkflowCheckpointState
impl Serialize for WorkflowCheckpointState
impl StructuralPartialEq for WorkflowCheckpointState
Auto Trait Implementations§
impl Freeze for WorkflowCheckpointState
impl RefUnwindSafe for WorkflowCheckpointState
impl Send for WorkflowCheckpointState
impl Sync for WorkflowCheckpointState
impl Unpin for WorkflowCheckpointState
impl UnsafeUnpin for WorkflowCheckpointState
impl UnwindSafe for WorkflowCheckpointState
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