pub enum ApprovalChallenge {
Desktop {
attempt: u64,
prompt: String,
},
OsPrompt {
attempt: u64,
prompt: String,
},
Phone {
attempt: u64,
connection: u64,
deadline: Instant,
request: Box<ConsentRequest>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ApprovalChallenge
impl Clone for ApprovalChallenge
Auto Trait Implementations§
impl Forget for ApprovalChallenge
impl Freeze for ApprovalChallenge
impl Move for ApprovalChallenge
impl RefUnwindSafe for ApprovalChallenge
impl Send for ApprovalChallenge
impl Sync for ApprovalChallenge
impl Unpin for ApprovalChallenge
impl UnsafeUnpin for ApprovalChallenge
impl UnwindSafe for ApprovalChallenge
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