[][src]Struct yubihsm::client::DeviceInfoResponse

pub struct DeviceInfoResponse {
    pub major_version: u8,
    pub minor_version: u8,
    pub build_version: u8,
    pub serial_number: u32,
    pub log_store_capacity: u8,
    pub log_store_used: u8,
    pub algorithms: Vec<Algorithm>,
}

Response from command::device_info

Fields

major_version: u8

Device major version

minor_version: u8

Device minor version

build_version: u8

Device build version (i.e. patchlevel)

serial_number: u32

Device serial number

log_store_capacity: u8

Size of the log store (in lines/entries)

log_store_used: u8

Number of log lines used

algorithms: Vec<Algorithm>

Supported algorithms

Trait Implementations

impl Debug for DeviceInfoResponse[src]

impl Serialize for DeviceInfoResponse[src]

impl<'de> Deserialize<'de> for DeviceInfoResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self