Struct gs1::epc::tid::XTIDHeader
source · pub struct XTIDHeader {
pub extended_header: bool,
pub user_memory_permalock: bool,
pub blockwrite_blockerase: bool,
pub optional_command_support: bool,
pub serial_size: u16,
}
Expand description
Extended Tag ID header
Fields§
§extended_header: bool
Whether a further XTID header is present - always false
user_memory_permalock: bool
Whether the XTID includes the User Memory and Block PermaLock segment
blockwrite_blockerase: bool
Whether the XTID includes the BlockWrite and BlockErase segment
optional_command_support: bool
Whether the XTID includes the Optional Command Support segment
serial_size: u16
The serial number size, in bits
Trait Implementations§
source§impl Clone for XTIDHeader
impl Clone for XTIDHeader
source§fn clone(&self) -> XTIDHeader
fn clone(&self) -> XTIDHeader
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 XTIDHeader
impl Debug for XTIDHeader
source§impl PartialEq<XTIDHeader> for XTIDHeader
impl PartialEq<XTIDHeader> for XTIDHeader
source§fn eq(&self, other: &XTIDHeader) -> bool
fn eq(&self, other: &XTIDHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.