pub struct AccountLockout {
pub enabled: bool,
pub max_failed_attempts: i64,
pub duration_seconds: f64,
}Expand description
Consecutive verification failures allowed before the account is temporarily locked.
Fields§
§enabled: boolEnable account-level lockout.
max_failed_attempts: i64Failures across factors and challenges before locking the account.
duration_seconds: f64Duration of the lock in seconds, including fractions. Zero is preserved.
Trait Implementations§
Source§impl Clone for AccountLockout
impl Clone for AccountLockout
Source§impl Debug for AccountLockout
impl Debug for AccountLockout
Auto Trait Implementations§
impl Freeze for AccountLockout
impl RefUnwindSafe for AccountLockout
impl Send for AccountLockout
impl Sync for AccountLockout
impl Unpin for AccountLockout
impl UnsafeUnpin for AccountLockout
impl UnwindSafe for AccountLockout
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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