#[non_exhaustive]pub struct WorkflowRecord<'r> {
pub id: &'r str,
pub index: WorkflowIx,
pub selection: &'r Selection,
pub sweeps: u32,
pub exit: Option<WorkflowExit>,
}Expand description
One workflow’s part in a run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: &'r strThe workflow’s id.
index: WorkflowIxThe workflow’s position in the program.
selection: &'r SelectionWhether it was selected.
sweeps: u32The sweeps begun: one for a workflow without a loop that ran, and for a loop each sweep its condition admitted.
exit: Option<WorkflowExit>How it ended, if it ran.
Trait Implementations§
Source§impl<'r> Debug for WorkflowRecord<'r>
impl<'r> Debug for WorkflowRecord<'r>
Source§impl Serialize for WorkflowRecord<'_>
Writes a workflow’s record as {"id", "index", "selection", "error"?, "sweeps", "exit"}: error only for a condition that failed to
evaluate, and exit null for a workflow that did not run.
impl Serialize for WorkflowRecord<'_>
Writes a workflow’s record as {"id", "index", "selection", "error"?, "sweeps", "exit"}: error only for a condition that failed to
evaluate, and exit null for a workflow that did not run.
Auto Trait Implementations§
impl<'r> !RefUnwindSafe for WorkflowRecord<'r>
impl<'r> !UnwindSafe for WorkflowRecord<'r>
impl<'r> Freeze for WorkflowRecord<'r>
impl<'r> Send for WorkflowRecord<'r>
impl<'r> Sync for WorkflowRecord<'r>
impl<'r> Unpin for WorkflowRecord<'r>
impl<'r> UnsafeUnpin for WorkflowRecord<'r>
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