pub struct DeviceInfo {
pub vendor_name: Option<String>,
pub model_name: Option<String>,
pub firmware_revision: Option<String>,
pub location: Option<String>,
pub description: Option<String>,
pub max_apdu_length: Option<u32>,
pub segmentation_supported: Option<u32>,
pub protocol_version: Option<u32>,
pub application_software_version: Option<String>,
}Expand description
Metadata read from the Device object during a walk.
Fields§
§vendor_name: Option<String>§model_name: Option<String>§firmware_revision: Option<String>§location: Option<String>§description: Option<String>§max_apdu_length: Option<u32>§segmentation_supported: Option<u32>§protocol_version: Option<u32>§application_software_version: Option<String>Trait Implementations§
Source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
Source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
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 DeviceInfo
impl Debug for DeviceInfo
Source§impl Default for DeviceInfo
impl Default for DeviceInfo
Source§fn default() -> DeviceInfo
fn default() -> DeviceInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnsafeUnpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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