pub struct WorkflowTransitionRules {
pub workflow_id: Box<WorkflowId>,
pub post_functions: Vec<ConnectWorkflowTransitionRule>,
pub conditions: Vec<ConnectWorkflowTransitionRule>,
pub validators: Vec<ConnectWorkflowTransitionRule>,
}
Expand description
WorkflowTransitionRules : A workflow with transition rules.
Fields§
§workflow_id: Box<WorkflowId>
§post_functions: Vec<ConnectWorkflowTransitionRule>
The list of post functions within the workflow.
conditions: Vec<ConnectWorkflowTransitionRule>
The list of conditions within the workflow.
validators: Vec<ConnectWorkflowTransitionRule>
The list of validators within the workflow.
Implementations§
Source§impl WorkflowTransitionRules
impl WorkflowTransitionRules
Sourcepub fn new(
workflow_id: WorkflowId,
post_functions: Vec<ConnectWorkflowTransitionRule>,
conditions: Vec<ConnectWorkflowTransitionRule>,
validators: Vec<ConnectWorkflowTransitionRule>,
) -> WorkflowTransitionRules
pub fn new( workflow_id: WorkflowId, post_functions: Vec<ConnectWorkflowTransitionRule>, conditions: Vec<ConnectWorkflowTransitionRule>, validators: Vec<ConnectWorkflowTransitionRule>, ) -> WorkflowTransitionRules
A workflow with transition rules.
Trait Implementations§
Source§impl Clone for WorkflowTransitionRules
impl Clone for WorkflowTransitionRules
Source§fn clone(&self) -> WorkflowTransitionRules
fn clone(&self) -> WorkflowTransitionRules
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 WorkflowTransitionRules
impl Debug for WorkflowTransitionRules
Source§impl Default for WorkflowTransitionRules
impl Default for WorkflowTransitionRules
Source§fn default() -> WorkflowTransitionRules
fn default() -> WorkflowTransitionRules
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowTransitionRules
impl<'de> Deserialize<'de> for WorkflowTransitionRules
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 WorkflowTransitionRules
impl PartialEq for WorkflowTransitionRules
Source§impl Serialize for WorkflowTransitionRules
impl Serialize for WorkflowTransitionRules
impl StructuralPartialEq for WorkflowTransitionRules
Auto Trait Implementations§
impl Freeze for WorkflowTransitionRules
impl RefUnwindSafe for WorkflowTransitionRules
impl Send for WorkflowTransitionRules
impl Sync for WorkflowTransitionRules
impl Unpin for WorkflowTransitionRules
impl UnwindSafe for WorkflowTransitionRules
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