Struct nfc_oath::OathCode [−][src]
pub struct OathCode { pub digits: OathDigits, pub value: u32, pub expiration: u32, pub steam: bool, }
Fields
digits: OathDigits
value: u32
expiration: u32
steam: bool
Trait Implementations
impl Debug for OathCode
[src]
impl Debug for OathCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for OathCode
[src]
impl PartialEq for OathCode
fn eq(&self, other: &OathCode) -> bool
[src]
fn eq(&self, other: &OathCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &OathCode) -> bool
[src]
fn ne(&self, other: &OathCode) -> bool
This method tests for !=
.
impl Display for OathCode
[src]
impl Display for OathCode