pub struct Transition {
    pub id: String,
    pub name: String,
    pub description: String,
    pub from: Vec<String>,
    pub to: String,
    pub _type: Type,
    pub screen: Option<ScreenId>,
    pub rules: Option<WorkflowRules>,
}Expand description
Transition : Details of a workflow transition.
Fields§
§id: StringThe ID of the transition.
name: StringThe name of the transition.
description: StringThe description of the transition.
from: Vec<String>The statuses the transition can start from.
to: StringThe status the transition goes to.
_type: TypeThe type of the transition.
screen: Option<ScreenId>§rules: Option<WorkflowRules>Implementations§
Trait Implementations§
Source§impl Clone for Transition
 
impl Clone for Transition
Source§fn clone(&self) -> Transition
 
fn clone(&self) -> Transition
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 Transition
 
impl Debug for Transition
Source§impl<'de> Deserialize<'de> for Transition
 
impl<'de> Deserialize<'de> for Transition
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 Transition
 
impl PartialEq for Transition
Source§impl Serialize for Transition
 
impl Serialize for Transition
impl StructuralPartialEq for Transition
Auto Trait Implementations§
impl Freeze for Transition
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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