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