Struct tinkerforge::nfc_rfid_bricklet::TagId
source · pub struct TagId {
pub tag_type: u8,
pub tid_length: u8,
pub tid: [u8; 7],
}
Fields§
§tag_type: u8
§tid_length: u8
§tid: [u8; 7]
Trait Implementations§
source§impl FromByteSlice for TagId
impl FromByteSlice for TagId
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> TagId
fn from_le_byte_slice(bytes: &[u8]) -> TagId
Deserialize the implementing type from a byte slice.
source§impl PartialEq for TagId
impl PartialEq for TagId
impl Copy for TagId
impl Eq for TagId
impl StructuralPartialEq for TagId
Auto Trait Implementations§
impl RefUnwindSafe for TagId
impl Send for TagId
impl Sync for TagId
impl Unpin for TagId
impl UnwindSafe for TagId
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