Struct kanidm_proto::v1::TotpSecret [−][src]
pub struct TotpSecret { pub accountname: String, pub issuer: String, pub secret: Vec<u8>, pub algo: TotpAlgo, pub step: u64, }
Fields
accountname: String
issuer: String
secret: Vec<u8>
algo: TotpAlgo
step: u64
Implementations
Trait Implementations
impl Clone for TotpSecret
[src]
impl Clone for TotpSecret
[src]fn clone(&self) -> TotpSecret
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for TotpSecret
[src]
impl<'de> Deserialize<'de> for TotpSecret
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for TotpSecret
[src]
impl Serialize for TotpSecret
[src]