pub struct WorkflowActivationContext {
pub parent_workflow_id: Option<String>,
pub root_workflow_id: Option<String>,
pub v: u8,
pub workflow_id: String,
pub activation_id: String,
pub revision: u64,
pub continuation: String,
pub state: Value,
pub inputs: BTreeMap<String, WorkflowChildResult>,
pub local_steps: Vec<LocalStepRecord>,
pub wake: Option<WorkflowWake>,
}Expand description
Frozen activation inputs and checkpoint, plus the current committed journal. New child completions do not mutate the frozen input batch or revision.
Fields§
§parent_workflow_id: Option<String>Present together only for a nested owned workflow; roots omit both.
root_workflow_id: Option<String>§v: u8§workflow_id: String§activation_id: String§revision: u64§continuation: String§state: Value§inputs: BTreeMap<String, WorkflowChildResult>§local_steps: Vec<LocalStepRecord>§wake: Option<WorkflowWake>Frozen result of one external event/timer wait. Absent on older contexts and ordinary child continuations; never merged into user CloudEvent data.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowActivationContext
impl Clone for WorkflowActivationContext
Source§impl Debug for WorkflowActivationContext
impl Debug for WorkflowActivationContext
Source§impl<'de> Deserialize<'de> for WorkflowActivationContext
impl<'de> Deserialize<'de> for WorkflowActivationContext
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
Auto Trait Implementations§
impl Freeze for WorkflowActivationContext
impl RefUnwindSafe for WorkflowActivationContext
impl Send for WorkflowActivationContext
impl Sync for WorkflowActivationContext
impl Unpin for WorkflowActivationContext
impl UnsafeUnpin for WorkflowActivationContext
impl UnwindSafe for WorkflowActivationContext
Blanket Implementations§
impl<T> ArtifactLease for T
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