pub struct DeviceIdentificationObject {
pub object_id: u8,
pub value: Vec<u8>,
}Expand description
A single object returned in a FC43/0x0E (Read Device Identification) response.
Fields§
§object_id: u8Object ID (e.g. 0x00 = Vendor Name, 0x01 = Product Code, 0x02 = Major Minor Revision).
value: Vec<u8>Raw object value bytes (typically UTF-8 text).
Trait Implementations§
Source§impl Clone for DeviceIdentificationObject
impl Clone for DeviceIdentificationObject
Source§fn clone(&self) -> DeviceIdentificationObject
fn clone(&self) -> DeviceIdentificationObject
Returns a duplicate 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 DeviceIdentificationObject
impl Debug for DeviceIdentificationObject
impl Eq for DeviceIdentificationObject
impl StructuralPartialEq for DeviceIdentificationObject
Auto Trait Implementations§
impl Freeze for DeviceIdentificationObject
impl RefUnwindSafe for DeviceIdentificationObject
impl Send for DeviceIdentificationObject
impl Sync for DeviceIdentificationObject
impl Unpin for DeviceIdentificationObject
impl UnsafeUnpin for DeviceIdentificationObject
impl UnwindSafe for DeviceIdentificationObject
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