pub struct WorkflowSimpleCondition {
pub type: String,
pub configuration: Option<Value>,
pub node_type: String,
}
Expand description
WorkflowSimpleCondition : A workflow transition condition rule.
Fields§
§type: String
The type of the transition rule.
configuration: Option<Value>
The configuration of the transition rule. This is currently returned only for some of the rule types. Availability of this property is subject to change.
node_type: String
Implementations§
Source§impl WorkflowSimpleCondition
impl WorkflowSimpleCondition
Sourcepub fn new(type: String, node_type: String) -> WorkflowSimpleCondition
pub fn new(type: String, node_type: String) -> WorkflowSimpleCondition
A workflow transition condition rule.
Trait Implementations§
Source§impl Clone for WorkflowSimpleCondition
impl Clone for WorkflowSimpleCondition
Source§fn clone(&self) -> WorkflowSimpleCondition
fn clone(&self) -> WorkflowSimpleCondition
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 WorkflowSimpleCondition
impl Debug for WorkflowSimpleCondition
Source§impl Default for WorkflowSimpleCondition
impl Default for WorkflowSimpleCondition
Source§fn default() -> WorkflowSimpleCondition
fn default() -> WorkflowSimpleCondition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowSimpleCondition
impl<'de> Deserialize<'de> for WorkflowSimpleCondition
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 WorkflowSimpleCondition
impl PartialEq for WorkflowSimpleCondition
Source§impl Serialize for WorkflowSimpleCondition
impl Serialize for WorkflowSimpleCondition
impl StructuralPartialEq for WorkflowSimpleCondition
Auto Trait Implementations§
impl Freeze for WorkflowSimpleCondition
impl RefUnwindSafe for WorkflowSimpleCondition
impl Send for WorkflowSimpleCondition
impl Sync for WorkflowSimpleCondition
impl Unpin for WorkflowSimpleCondition
impl UnwindSafe for WorkflowSimpleCondition
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