pub struct EnableOutput {
pub method: &'static str,
pub totp_uri: String,
pub backup_codes: Vec<String>,
}Fields§
§method: &'static strAlways "totp"; Better Auth’s client also knows "otp".
totp_uri: String§backup_codes: Vec<String>Shown once; only their hashes are stored.
Trait Implementations§
Source§impl Debug for EnableOutput
impl Debug for EnableOutput
Auto Trait Implementations§
impl Forget for EnableOutput
impl Freeze for EnableOutput
impl Move for EnableOutput
impl RefUnwindSafe for EnableOutput
impl Send for EnableOutput
impl Sync for EnableOutput
impl Unpin for EnableOutput
impl UnsafeUnpin for EnableOutput
impl UnwindSafe for EnableOutput
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