pub struct DeviceInformation {Show 16 fields
pub version: Version,
pub manufacturer: String,
pub issuer: String,
pub label: String,
pub serial_number: String,
pub hw_version: Version,
pub firmware_version: Version,
pub alg_sym_cap: u32,
pub alg_asym_cap: u32,
pub alg_hash_cap: u32,
pub dev_auth_alg_id: u32,
pub total_space: u32,
pub free_space: u32,
pub max_ecc_buffer_size: u32,
pub max_buffer_size: u32,
pub reserved: [u8; 64],
}
Fields§
§version: Version
§manufacturer: String
§issuer: String
§label: String
§serial_number: String
§hw_version: Version
§firmware_version: Version
§alg_sym_cap: u32
§alg_asym_cap: u32
§alg_hash_cap: u32
§dev_auth_alg_id: u32
§total_space: u32
§free_space: u32
§max_ecc_buffer_size: u32
§max_buffer_size: u32
§reserved: [u8; 64]
Trait Implementations§
Source§impl Debug for DeviceInformation
impl Debug for DeviceInformation
Source§impl From<&DeviceInfo> for DeviceInformation
impl From<&DeviceInfo> for DeviceInformation
Source§fn from(value: &DeviceInfo) -> Self
fn from(value: &DeviceInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceInformation
impl RefUnwindSafe for DeviceInformation
impl Send for DeviceInformation
impl Sync for DeviceInformation
impl Unpin for DeviceInformation
impl UnwindSafe for DeviceInformation
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