pub struct ConnectWorkflowTransitionRule {
pub id: String,
pub key: String,
pub configuration: Box<RuleConfiguration>,
pub transition: Option<Box<WorkflowTransition>>,
}
Expand description
ConnectWorkflowTransitionRule : A workflow transition rule.
Fields§
§id: String
The ID of the transition rule.
key: String
The key of the rule, as defined in the Connect app descriptor.
configuration: Box<RuleConfiguration>
§transition: Option<Box<WorkflowTransition>>
Implementations§
Source§impl ConnectWorkflowTransitionRule
impl ConnectWorkflowTransitionRule
Sourcepub fn new(
id: String,
key: String,
configuration: RuleConfiguration,
) -> ConnectWorkflowTransitionRule
pub fn new( id: String, key: String, configuration: RuleConfiguration, ) -> ConnectWorkflowTransitionRule
A workflow transition rule.
Trait Implementations§
Source§impl Clone for ConnectWorkflowTransitionRule
impl Clone for ConnectWorkflowTransitionRule
Source§fn clone(&self) -> ConnectWorkflowTransitionRule
fn clone(&self) -> ConnectWorkflowTransitionRule
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 Default for ConnectWorkflowTransitionRule
impl Default for ConnectWorkflowTransitionRule
Source§fn default() -> ConnectWorkflowTransitionRule
fn default() -> ConnectWorkflowTransitionRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectWorkflowTransitionRule
impl<'de> Deserialize<'de> for ConnectWorkflowTransitionRule
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 ConnectWorkflowTransitionRule
impl PartialEq for ConnectWorkflowTransitionRule
Source§fn eq(&self, other: &ConnectWorkflowTransitionRule) -> bool
fn eq(&self, other: &ConnectWorkflowTransitionRule) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ConnectWorkflowTransitionRule
Auto Trait Implementations§
impl Freeze for ConnectWorkflowTransitionRule
impl RefUnwindSafe for ConnectWorkflowTransitionRule
impl Send for ConnectWorkflowTransitionRule
impl Sync for ConnectWorkflowTransitionRule
impl Unpin for ConnectWorkflowTransitionRule
impl UnwindSafe for ConnectWorkflowTransitionRule
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