pub struct ProtocolPacketSpec {
pub state: String,
pub direction: String,
pub id: i32,
pub name: String,
pub body_struct: String,
pub fields: Vec<ProtocolPacketField>,
}
Fields§
§state: String
§direction: String
§id: i32
§name: String
§body_struct: String
§fields: Vec<ProtocolPacketField>
Trait Implementations§
Source§impl Clone for ProtocolPacketSpec
impl Clone for ProtocolPacketSpec
Source§fn clone(&self) -> ProtocolPacketSpec
fn clone(&self) -> ProtocolPacketSpec
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 ProtocolPacketSpec
impl Debug for ProtocolPacketSpec
Source§impl<'de> Deserialize<'de> for ProtocolPacketSpec
impl<'de> Deserialize<'de> for ProtocolPacketSpec
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 ProtocolPacketSpec
impl PartialEq for ProtocolPacketSpec
Source§impl Serialize for ProtocolPacketSpec
impl Serialize for ProtocolPacketSpec
impl Eq for ProtocolPacketSpec
impl StructuralPartialEq for ProtocolPacketSpec
Auto Trait Implementations§
impl Freeze for ProtocolPacketSpec
impl RefUnwindSafe for ProtocolPacketSpec
impl Send for ProtocolPacketSpec
impl Sync for ProtocolPacketSpec
impl Unpin for ProtocolPacketSpec
impl UnwindSafe for ProtocolPacketSpec
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