pub enum Prompt {
Browser {
url: String,
},
Device {
user_code: String,
verification_uri: String,
},
}Expand description
What the user does next.
Variants§
Browser
Continue on GitHub in the browser, opened at url.
Device
Enter user_code at verification_uri.
Trait Implementations§
impl Eq for Prompt
impl StructuralPartialEq for Prompt
Auto Trait Implementations§
impl Forget for Prompt
impl Freeze for Prompt
impl Move for Prompt
impl RefUnwindSafe for Prompt
impl Send for Promptwhere
RawVecInner: Send,
impl Sync for Promptwhere
RawVecInner: Sync,
impl Unpin for Prompt
impl UnsafeUnpin for Prompt
impl UnwindSafe for Promptwhere
RawVecInner: UnwindSafe,
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