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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TotpSecret
impl Send for TotpSecret
impl Sync for TotpSecret
impl Unpin for TotpSecret
impl UnwindSafe for TotpSecret
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more