pub struct DeviceIdentification {
pub vendor_name: String,
pub product_code: String,
pub major_minor_revision: String,
pub vendor_url: Option<String>,
pub product_name: Option<String>,
pub model_name: Option<String>,
pub user_application_name: Option<String>,
}Expand description
Device identification for Read Device ID (FC 0x2B/0x0E).
Fields§
§vendor_name: StringVendor name (mandatory, object 0x00).
product_code: StringProduct code (mandatory, object 0x01).
major_minor_revision: StringMajor/minor revision (mandatory, object 0x02).
vendor_url: Option<String>Vendor URL (optional).
product_name: Option<String>Product name (optional).
model_name: Option<String>Model name (optional).
user_application_name: Option<String>User application name (optional).
Trait Implementations§
Source§impl Clone for DeviceIdentification
impl Clone for DeviceIdentification
Source§fn clone(&self) -> DeviceIdentification
fn clone(&self) -> DeviceIdentification
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 DeviceIdentification
impl Debug for DeviceIdentification
Auto Trait Implementations§
impl Freeze for DeviceIdentification
impl RefUnwindSafe for DeviceIdentification
impl Send for DeviceIdentification
impl Sync for DeviceIdentification
impl Unpin for DeviceIdentification
impl UnsafeUnpin for DeviceIdentification
impl UnwindSafe for DeviceIdentification
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