pub enum WorkflowNodeType {
Start,
Parallel,
Exclusive,
Activity,
Trigger,
End,
}
Expand description
Definition for each type of node that can appear in a Workflow/Job
Variants§
Start
The node which indicates where to start execution from
Parallel
Indicates the job must run all branches in a parallel manner until the closing parallel gate
Exclusive
Indicates a conditional logic point where all paths where the expression == true must be executed, even if this results in parallel behaviour if multiple branches are true
Activity
Represents an activity to be executed on a Bot
Trigger
Indicates a RESTful HTTP call is to be made
End
Signals the End of the job, the job must stop when an End node is encountered
Trait Implementations§
Source§impl Clone for WorkflowNodeType
impl Clone for WorkflowNodeType
Source§fn clone(&self) -> WorkflowNodeType
fn clone(&self) -> WorkflowNodeType
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkflowNodeType
impl Debug for WorkflowNodeType
Source§impl<'de> Deserialize<'de> for WorkflowNodeType
impl<'de> Deserialize<'de> for WorkflowNodeType
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
Source§impl PartialEq for WorkflowNodeType
impl PartialEq for WorkflowNodeType
impl StructuralPartialEq for WorkflowNodeType
Auto Trait Implementations§
impl Freeze for WorkflowNodeType
impl RefUnwindSafe for WorkflowNodeType
impl Send for WorkflowNodeType
impl Sync for WorkflowNodeType
impl Unpin for WorkflowNodeType
impl UnwindSafe for WorkflowNodeType
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