pub enum Screen {
Loading,
Phone,
Options(Vec<String>),
Otp {
channel: Option<String>,
},
OtpRejected,
Approval,
Done,
StepUp(String),
Problem(String),
Unknown(String),
}Expand description
Where the weblogin page is, from PROBE_JS.
Variants§
Loading
Still loading / spinner.
Phone
The phone-number form.
Options(Vec<String>)
“Choose a preferred way to sign in” with these challenge types.
Otp
Waiting for a code; channel as shown (“SMS”, “WhatsApp”, …).
OtpRejected
The code was not accepted.
Approval
Waiting for an in-app approval.
Done
Back on food.grab.com: logged in.
StepUp(String)
A step-up that needs a human (reCAPTCHA v2, selfie, PIN, …).
Problem(String)
An error banner (blocked, rate limited, expired, rejected, …).
Unknown(String)
Trait Implementations§
impl Eq for Screen
impl StructuralPartialEq for Screen
Auto Trait Implementations§
impl Forget for Screen
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnsafeUnpin for Screen
impl UnwindSafe for Screen
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