pub struct OwnedDeviceIdentification {
pub vendor_name: Option<String>,
pub product_code: Option<String>,
pub major_minor_revision: Option<String>,
}Expand description
Collected device identification from FC 0x2B / MEI 0x0E.
Contains the three mandatory basic objects. Fields are None if the
device did not include them.
Fields§
§vendor_name: Option<String>Vendor Name (object 0x00).
product_code: Option<String>Product Code (object 0x01).
major_minor_revision: Option<String>Major/Minor Revision (object 0x02).
Trait Implementations§
Source§impl Clone for OwnedDeviceIdentification
impl Clone for OwnedDeviceIdentification
Source§fn clone(&self) -> OwnedDeviceIdentification
fn clone(&self) -> OwnedDeviceIdentification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OwnedDeviceIdentification
impl Debug for OwnedDeviceIdentification
Source§impl Default for OwnedDeviceIdentification
impl Default for OwnedDeviceIdentification
Source§fn default() -> OwnedDeviceIdentification
fn default() -> OwnedDeviceIdentification
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OwnedDeviceIdentification
impl RefUnwindSafe for OwnedDeviceIdentification
impl Send for OwnedDeviceIdentification
impl Sync for OwnedDeviceIdentification
impl Unpin for OwnedDeviceIdentification
impl UnsafeUnpin for OwnedDeviceIdentification
impl UnwindSafe for OwnedDeviceIdentification
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