Struct tinkerforge::co2_v2_bricklet::Identity
source · pub struct Identity {
pub uid: String,
pub connected_uid: String,
pub position: char,
pub hardware_version: [u8; 3],
pub firmware_version: [u8; 3],
pub device_identifier: u16,
}
Fields§
§uid: String
§connected_uid: String
§position: char
§hardware_version: [u8; 3]
§firmware_version: [u8; 3]
§device_identifier: u16
Trait Implementations§
source§impl FromByteSlice for Identity
impl FromByteSlice for Identity
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]) -> Identity
fn from_le_byte_slice(bytes: &[u8]) -> Identity
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Identity
impl PartialEq for Identity
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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