[][src]Struct ledger_zondax_generic::Version

pub struct Version {
    pub mode: u8,
    pub major: u16,
    pub minor: u16,
    pub patch: u16,
    pub locked: bool,
    pub target_id: [u8; 4],
}

App Version

Fields

mode: u8

Application Mode

major: u16

Version Major

minor: u16

Version Minor

patch: u16

Version Patch

locked: bool

Device is locked

target_id: [u8; 4]

Target ID

Trait Implementations

impl Clone for Version[src]

impl Debug for Version[src]

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

impl Serialize for Version[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.