pub struct TwoFactorChallenge {
pub user_id: Uuid,
pub method: TwoFactorMethod,
pub challenge: String,
pub expires_at: DateTime<Utc>,
}Expand description
Two-factor authentication challenge
Fields§
§user_id: Uuid§method: TwoFactorMethod§challenge: String§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for TwoFactorChallenge
impl Clone for TwoFactorChallenge
Auto Trait Implementations§
impl Freeze for TwoFactorChallenge
impl RefUnwindSafe for TwoFactorChallenge
impl Send for TwoFactorChallenge
impl Sync for TwoFactorChallenge
impl Unpin for TwoFactorChallenge
impl UnsafeUnpin for TwoFactorChallenge
impl UnwindSafe for TwoFactorChallenge
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