pub struct StateNodeSpec {
pub id: String,
pub label: String,
pub sublabel: Option<String>,
pub kind: StateKind,
pub is_final: bool,
pub parent: Option<String>,
pub role: Option<DiagramRole>,
}Fields§
§id: String§label: String§sublabel: Option<String>§kind: StateKind§is_final: boolA state the machine ends in, drawn with a double outline.
parent: Option<String>The id of the composite state this state lies in.
role: Option<DiagramRole>Trait Implementations§
Source§impl Clone for StateNodeSpec
impl Clone for StateNodeSpec
Source§impl Debug for StateNodeSpec
impl Debug for StateNodeSpec
Source§impl<'de> Deserialize<'de> for StateNodeSpec
impl<'de> Deserialize<'de> for StateNodeSpec
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 StateNodeSpec
impl RefUnwindSafe for StateNodeSpec
impl Send for StateNodeSpec
impl Sync for StateNodeSpec
impl Unpin for StateNodeSpec
impl UnsafeUnpin for StateNodeSpec
impl UnwindSafe for StateNodeSpec
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