pub enum TotpDialogPhase {
Setup {
qr_lines: Vec<String>,
secret: String,
},
Verify {
input: String,
error: Option<String>,
},
Remove {
confirmed: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for TotpDialogPhase
impl Clone for TotpDialogPhase
Source§fn clone(&self) -> TotpDialogPhase
fn clone(&self) -> TotpDialogPhase
Returns a duplicate of the value. Read more
1.0.0 · 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 TotpDialogPhase
impl RefUnwindSafe for TotpDialogPhase
impl Send for TotpDialogPhase
impl Sync for TotpDialogPhase
impl Unpin for TotpDialogPhase
impl UnsafeUnpin for TotpDialogPhase
impl UnwindSafe for TotpDialogPhase
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