pub enum Prompt {
Browser {
url: String,
opened: bool,
},
Device {
user_code: String,
verification_uri: String,
message: Option<String>,
},
}Expand description
What authorize needs the caller to put in front of the user. The flows
differ in what that is, and only the caller knows where it can be printed.
Variants§
Browser
Open this URL. opened is whether a browser already took it.
Device
Type this code at this address.
Auto Trait Implementations§
impl Freeze for Prompt
impl RefUnwindSafe for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnsafeUnpin for Prompt
impl UnwindSafe for Prompt
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