Struct lifx_core::ProtocolHeader
source · Fields§
§reserved: u64
64 bits: Reserved
typ: u16
16 bits: Message type determines the payload being used
See also Message::get_num
reserved2: u16
16 bits: Reserved
Implementations§
Trait Implementations§
source§impl Clone for ProtocolHeader
impl Clone for ProtocolHeader
source§fn clone(&self) -> ProtocolHeader
fn clone(&self) -> ProtocolHeader
Returns a copy 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 ProtocolHeader
impl Debug for ProtocolHeader
source§impl PartialEq<ProtocolHeader> for ProtocolHeader
impl PartialEq<ProtocolHeader> for ProtocolHeader
source§fn eq(&self, other: &ProtocolHeader) -> bool
fn eq(&self, other: &ProtocolHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.