pub enum View {
Starting,
Code {
channel: String,
},
Approve,
Done {
display_name: String,
},
Failed {
message: String,
},
Cancelled,
Expired,
}Expand description
Where a login is.
Variants§
Starting
The browser is on its way to Grab’s login.
Code
Enter the code Grab sent (channel).
Approve
Approve it in the Grab app.
Done
Connected.
Fields
Failed
It ended without a session.
Cancelled
Its person cancelled it.
Expired
Nobody polled it.
Implementations§
Trait Implementations§
impl Eq for View
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Forget for View
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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