pub struct OtpOptions {
pub period_seconds: u64,
pub digits: usize,
pub allowed_attempts: u32,
pub storage: OtpStorage,
pub send_otp: Option<SendOtp>,
}Fields§
§period_seconds: u64§digits: usize§allowed_attempts: u32§storage: OtpStorage§send_otp: Option<SendOtp>Trait Implementations§
Source§impl Clone for OtpOptions
impl Clone for OtpOptions
Source§fn clone(&self) -> OtpOptions
fn clone(&self) -> OtpOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OtpOptions
impl !RefUnwindSafe for OtpOptions
impl Send for OtpOptions
impl Sync for OtpOptions
impl Unpin for OtpOptions
impl UnsafeUnpin for OtpOptions
impl !UnwindSafe for OtpOptions
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