pub struct TransitionSpec {
pub to: String,
pub when: Guard,
}Expand description
A transition: advance to to when when holds.
Fields§
§to: StringTarget stage id.
when: GuardThe (serializable) guard that fires this transition.
Trait Implementations§
Source§impl Clone for TransitionSpec
impl Clone for TransitionSpec
Source§fn clone(&self) -> TransitionSpec
fn clone(&self) -> TransitionSpec
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 TransitionSpec
impl Debug for TransitionSpec
Source§impl<'de> Deserialize<'de> for TransitionSpec
impl<'de> Deserialize<'de> for TransitionSpec
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 TransitionSpec
impl !RefUnwindSafe for TransitionSpec
impl Send for TransitionSpec
impl Sync for TransitionSpec
impl Unpin for TransitionSpec
impl !UnwindSafe for TransitionSpec
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