pub enum StageDef {
Obj {
id: IdField,
name: String,
is_initial: Option<bool>,
is_final: Option<bool>,
},
Name(IdField),
}Expand description
A named business stage, optionally carrying initial and final markers.
Variants§
Obj
Expanded declaration with named fields.
Fields
Name(IdField)
Compact declaration containing only the identifier.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StageDef
impl<'de> Deserialize<'de> for StageDef
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
Auto Trait Implementations§
impl Freeze for StageDef
impl RefUnwindSafe for StageDef
impl Send for StageDef
impl Sync for StageDef
impl Unpin for StageDef
impl UnsafeUnpin for StageDef
impl UnwindSafe for StageDef
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