Struct ross_protocol::ross_packet::RossPacket [−][src]
pub struct RossPacket {
pub is_error: bool,
pub device_address: u16,
pub data: Vec<u8>,
}Fields
is_error: boolIf this flag is set, the packet is considered to be an error packet
device_address: u16Transmitting device’s address
data: Vec<u8>Packet data
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.