#[repr(C, packed(1))]pub struct DeviceInfo {Show 16 fields
pub version: Version,
pub manufacturer: [CHAR; 64],
pub issuer: [CHAR; 64],
pub label: [CHAR; 32],
pub serial_number: [CHAR; 32],
pub hw_version: Version,
pub firmware_version: Version,
pub alg_sym_cap: ULONG,
pub alg_asym_cap: ULONG,
pub alg_hash_cap: ULONG,
pub dev_auth_alg_id: ULONG,
pub total_space: ULONG,
pub free_space: ULONG,
pub max_ecc_buffer_size: ULONG,
pub max_buffer_size: ULONG,
pub reserved: [BYTE; 64],
}
Expand description
The structure of DEVINFO
Fields§
§version: Version
§manufacturer: [CHAR; 64]
§issuer: [CHAR; 64]
§label: [CHAR; 32]
§serial_number: [CHAR; 32]
§hw_version: Version
§firmware_version: Version
§alg_sym_cap: ULONG
§alg_asym_cap: ULONG
§alg_hash_cap: ULONG
§dev_auth_alg_id: ULONG
§total_space: ULONG
§free_space: ULONG
§max_ecc_buffer_size: ULONG
§max_buffer_size: ULONG
§reserved: [BYTE; 64]
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
impl Copy for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin 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