[−][src]Struct nitrokey_sys::NK_status
Stores the common device status for all Nitrokey devices.
Fields
firmware_version_major: u8
The major firmware version, e. g. 0 in v0.40.
firmware_version_minor: u8
The minor firmware version, e. g. 40 in v0.40.
serial_number_smart_card: u32
The serial number of the smart card.
config_numlock: u8
The HOTP slot to generate a password from if the numlock key is pressed twice (slot 0-1, or any other value to disable the function).
config_capslock: u8
The HOTP slot to generate a password from if the capslock key is pressed twice (slot 0-1, or any other value to disable the function).
config_scrolllock: u8
The HOTP slot to generate a password from if the scrolllock key is pressed twice (slot 0-1, or any other value to disable the function).
otp_user_password: bool
Indicates whether the user password is required to generate an OTP value.
Trait Implementations
impl Clone for NK_status
[src]
impl Copy for NK_status
[src]
impl Debug for NK_status
[src]
impl Default for NK_status
[src]
Auto Trait Implementations
impl RefUnwindSafe for NK_status
impl Send for NK_status
impl Sync for NK_status
impl Unpin for NK_status
impl UnwindSafe for NK_status
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,