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