pub struct WorkflowState {
pub completed: HashSet<StepId>,
pub outputs: HashMap<StepId, Value>,
pub branches: HashMap<StepId, StepId>,
pub terminated: Option<bool>,
}Fields§
§completed: HashSet<StepId>§outputs: HashMap<StepId, Value>§branches: HashMap<StepId, StepId>§terminated: Option<bool>Implementations§
Source§impl WorkflowState
impl WorkflowState
pub fn fold(events: &[WorkflowEvent]) -> Self
Trait Implementations§
Source§impl Clone for WorkflowState
impl Clone for WorkflowState
Source§fn clone(&self) -> WorkflowState
fn clone(&self) -> WorkflowState
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 WorkflowState
impl Debug for WorkflowState
Source§impl Default for WorkflowState
impl Default for WorkflowState
Source§fn default() -> WorkflowState
fn default() -> WorkflowState
Returns the “default value” for a type. Read more
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