pub struct Transition {
pub description: String,
pub from: Vec<String>,
pub id: String,
pub name: String,
pub properties: Option<HashMap<String, Value>>,
pub rules: Option<Box<WorkflowRules>>,
pub screen: Option<Box<TransitionScreenDetails>>,
pub to: String,
pub type: Type,
}
Expand description
Transition : Details of a workflow transition.
Fields§
§description: String
The description of the transition.
from: Vec<String>
The statuses the transition can start from.
id: String
The ID of the transition.
name: String
The name of the transition.
properties: Option<HashMap<String, Value>>
The properties of the transition.
rules: Option<Box<WorkflowRules>>
§screen: Option<Box<TransitionScreenDetails>>
§to: String
The status the transition goes to.
type: Type
The type of the transition.
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 Default for Transition
impl Default for Transition
Source§fn default() -> Transition
fn default() -> Transition
Returns the “default value” for a type. Read more
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