pub struct PendingLogin {
pub kind: PendingKind,
pub cdp_base: String,
pub browser_context_id: String,
pub target_id: String,
pub created_at: i64,
pub expires_at: i64,
pub phone_masked: String,
pub channel_requested: Channel,
pub channel_sent: Option<String>,
pub copy_browser_address: bool,
}Expand description
State kept between --phone … and --otp / --poll. No secrets:
ids of the isolated context/tab in the browser and a masked phone.
Fields§
§kind: PendingKind§cdp_base: String§browser_context_id: String§target_id: String§created_at: i64§expires_at: i64§phone_masked: String§channel_requested: Channel§channel_sent: Option<String>Delivery Grab reported on the page (SMS, WhatsApp, app), if known.
copy_browser_address: boolWhether to copy the saved address (location cookie) from the
browser’s default context when the session has none. The CLI does
(it’s the user’s own browser); a shared daemon browser must not.
Implementations§
Source§impl PendingLogin
impl PendingLogin
Trait Implementations§
Source§impl Clone for PendingLogin
impl Clone for PendingLogin
Source§impl Debug for PendingLogin
impl Debug for PendingLogin
Source§impl<'de> Deserialize<'de> for PendingLogin
impl<'de> Deserialize<'de> for PendingLogin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for PendingLogin
impl Freeze for PendingLogin
impl RefUnwindSafe for PendingLogin
impl Send for PendingLogin
impl Sync for PendingLogin
impl Unpin for PendingLogin
impl UnsafeUnpin for PendingLogin
impl UnwindSafe for PendingLogin
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