pub struct Otp {
pub status: Status,
pub strategy: Strategy,
pub attempts: i64,
pub expire_at: i64,
}Fields§
§status: Status§strategy: Strategy§attempts: i64§expire_at: i64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Otp
impl<'de> Deserialize<'de> for Otp
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 StructuralPartialEq for Otp
Auto Trait Implementations§
impl Freeze for Otp
impl RefUnwindSafe for Otp
impl Send for Otp
impl Sync for Otp
impl Unpin for Otp
impl UnwindSafe for Otp
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