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