pub enum Otp<'o> {
Hotp(Hotp<'o>),
Totp(Totp<'o>),
}
Variants§
Implementations§
Source§impl<'o> Otp<'o>
impl<'o> Otp<'o>
Trait Implementations§
Source§impl<'de, 'o> Deserialize<'de> for Otp<'o>
impl<'de, 'o> Deserialize<'de> for Otp<'o>
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
impl<'o> Eq for Otp<'o>
impl<'o> StructuralPartialEq for Otp<'o>
Auto Trait Implementations§
impl<'o> Freeze for Otp<'o>
impl<'o> RefUnwindSafe for Otp<'o>
impl<'o> Send for Otp<'o>
impl<'o> Sync for Otp<'o>
impl<'o> Unpin for Otp<'o>
impl<'o> UnwindSafe for Otp<'o>
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