[][src]Struct nitrokey::SdCardData

pub struct SdCardData {
    pub serial_number: u32,
    pub size: u8,
    pub manufacturing_year: u8,
    pub manufacturing_month: u8,
    pub oem: u16,
    pub manufacturer: u8,
}

Information about the SD card in a Storage device.

Fields

serial_number: u32

The serial number of the SD card.

size: u8

The size of the SD card in GB.

manufacturing_year: u8

The year the card was manufactured, e. g. 17 for 2017.

manufacturing_month: u8

The month the card was manufactured.

oem: u16

The OEM ID.

manufacturer: u8

The manufacturer ID.

Trait Implementations

impl Debug for SdCardData[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.