Struct nitrokey_sys::NK_SD_usage_data
source · [−]Expand description
Data about the usage of the SD card.
Fields
write_level_min: u8
The minimum write level, as a percentage of the total card size.
write_level_max: u8
The maximum write level, as a percentage of the total card size.
Trait Implementations
sourceimpl Clone for NK_SD_usage_data
impl Clone for NK_SD_usage_data
sourcefn clone(&self) -> NK_SD_usage_data
fn clone(&self) -> NK_SD_usage_data
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NK_SD_usage_data
impl Debug for NK_SD_usage_data
sourceimpl Default for NK_SD_usage_data
impl Default for NK_SD_usage_data
sourcefn default() -> NK_SD_usage_data
fn default() -> NK_SD_usage_data
Returns the “default value” for a type. Read more
impl Copy for NK_SD_usage_data
Auto Trait Implementations
impl RefUnwindSafe for NK_SD_usage_data
impl Send for NK_SD_usage_data
impl Sync for NK_SD_usage_data
impl Unpin for NK_SD_usage_data
impl UnwindSafe for NK_SD_usage_data
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more