pub struct StateMachineSpec {
pub initial_state: String,
pub states: Vec<StateSpec>,
}Expand description
A probabilistic state graph that emits one message per state visit.
Fields§
§initial_state: String§states: Vec<StateSpec>Trait Implementations§
Source§impl Clone for StateMachineSpec
impl Clone for StateMachineSpec
Source§fn clone(&self) -> StateMachineSpec
fn clone(&self) -> StateMachineSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StateMachineSpec
impl Debug for StateMachineSpec
Source§impl<'de> Deserialize<'de> for StateMachineSpec
impl<'de> Deserialize<'de> for StateMachineSpec
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 StateMachineSpec
impl RefUnwindSafe for StateMachineSpec
impl Send for StateMachineSpec
impl Sync for StateMachineSpec
impl Unpin for StateMachineSpec
impl UnsafeUnpin for StateMachineSpec
impl UnwindSafe for StateMachineSpec
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