Struct authenticator::backup::aegis::Detail
source · pub struct Detail {
pub secret: String,
pub algorithm: Algorithm,
pub digits: u32,
pub period: Option<u32>,
pub counter: Option<u32>,
}
Expand description
OTP Entry Details
Fields§
§secret: String
§algorithm: Algorithm
§digits: u32
§period: Option<u32>
§counter: Option<u32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Detail
impl<'de> Deserialize<'de> for Detail
source§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 Detail
impl Send for Detail
impl Sync for Detail
impl Unpin for Detail
impl UnwindSafe for Detail
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more