pub struct WorkflowState {
pub params: HashMap<String, String>,
pub locals: HashMap<String, String>,
pub output: Output,
pub action_snapshot: bool,
}Expand description
Workflow-level mutable state: output, locals, and per-run flags.
Separated from Executor so it can be created, passed around, and
returned independently (e.g. across subflow invocations).
Fields§
§params: HashMap<String, String>Resolved param values for this workflow invocation. Read-only during execution;
accessible in Eval expressions as param.key.
locals: HashMap<String, String>Workflow-local values from Extract { local: true }. Not propagated to
parent workflows. Accessible via {output.<key>} within this workflow.
output: OutputAccumulated output from Extract actions. Read after the workflow completes.
Propagated to parent workflows via output.merge. Accessible via {output.<key>}.
action_snapshot: boolWhen false, the post-action DOM snapshot is skipped entirely.
Set via defaults.action_snapshot: false in the workflow YAML.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowState
impl RefUnwindSafe for WorkflowState
impl Send for WorkflowState
impl Sync for WorkflowState
impl Unpin for WorkflowState
impl UnsafeUnpin for WorkflowState
impl UnwindSafe for WorkflowState
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