pub struct WorkflowFacts {
pub typed_entry_function: String,
pub timer_count: usize,
}Expand description
The facts the test-scaffold generator derives from a workflow’s source.
Fields§
§typed_entry_function: StringThe typed entry function the test harness drives — the last argument of
the workflow.define(...) call (e.g. execute).
timer_count: usizeThe number of durable timers (sleep / start_timer) reachable from the
typed entry function — one clock advance is scaffolded per timer.
Trait Implementations§
Source§impl Clone for WorkflowFacts
impl Clone for WorkflowFacts
Source§fn clone(&self) -> WorkflowFacts
fn clone(&self) -> WorkflowFacts
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 WorkflowFacts
impl Debug for WorkflowFacts
impl Eq for WorkflowFacts
Source§impl PartialEq for WorkflowFacts
impl PartialEq for WorkflowFacts
impl StructuralPartialEq for WorkflowFacts
Auto Trait Implementations§
impl Freeze for WorkflowFacts
impl RefUnwindSafe for WorkflowFacts
impl Send for WorkflowFacts
impl Sync for WorkflowFacts
impl Unpin for WorkflowFacts
impl UnsafeUnpin for WorkflowFacts
impl UnwindSafe for WorkflowFacts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.