pub struct ProtocolDef {
pub states: Vec<String>,
pub initial: Option<String>,
pub transitions: Vec<String>,
pub other: HashMap<String, Value>,
}Fields§
§states: Vec<String>§initial: Option<String>§transitions: Vec<String>§other: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ProtocolDef
impl Clone for ProtocolDef
Source§fn clone(&self) -> ProtocolDef
fn clone(&self) -> ProtocolDef
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 ProtocolDef
impl Debug for ProtocolDef
Source§impl<'de> Deserialize<'de> for ProtocolDef
impl<'de> Deserialize<'de> for ProtocolDef
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 ProtocolDef
impl PartialEq for ProtocolDef
Source§impl Serialize for ProtocolDef
impl Serialize for ProtocolDef
impl StructuralPartialEq for ProtocolDef
Auto Trait Implementations§
impl Freeze for ProtocolDef
impl RefUnwindSafe for ProtocolDef
impl Send for ProtocolDef
impl Sync for ProtocolDef
impl Unpin for ProtocolDef
impl UnwindSafe for ProtocolDef
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