Struct nfc_oath::OathCredential [−][src]
pub struct OathCredential { pub name: String, pub code: Result<OathCode, String>, pub oath_type: OathType, pub touch: bool, pub algo: OathAlgo, pub hidden: bool, pub steam: bool, }
Fields
name: String
code: Result<OathCode, String>
oath_type: OathType
touch: bool
algo: OathAlgo
steam: bool
Methods
impl OathCredential
[src]
impl OathCredential
Trait Implementations
impl Debug for OathCredential
[src]
impl Debug for OathCredential
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 OathCredential
[src]
impl PartialEq for OathCredential
fn eq(&self, other: &OathCredential) -> bool
[src]
fn eq(&self, other: &OathCredential) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &OathCredential) -> bool
[src]
fn ne(&self, other: &OathCredential) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for OathCredential
impl Send for OathCredential
impl Sync for OathCredential
impl Sync for OathCredential