pub struct ProtocolMessage {
pub message_type: MessageType,
pub command: Command,
pub variable: u8,
pub data: Vec<u8>,
}Fields§
§message_type: MessageType§command: Command§variable: u8§data: Vec<u8>Trait Implementations§
Source§impl Debug for ProtocolMessage
impl Debug for ProtocolMessage
Source§impl PartialEq for ProtocolMessage
impl PartialEq for ProtocolMessage
impl Eq for ProtocolMessage
impl StructuralPartialEq for ProtocolMessage
Auto Trait Implementations§
impl Freeze for ProtocolMessage
impl RefUnwindSafe for ProtocolMessage
impl Send for ProtocolMessage
impl Sync for ProtocolMessage
impl Unpin for ProtocolMessage
impl UnwindSafe for ProtocolMessage
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