pub struct CreateSessionOptions {
pub profile_id: Option<String>,
pub recording: bool,
pub stealth: bool,
pub captcha: bool,
pub proxy: Option<ProxySpec>,
}Expand description
Options accepted by POST /sessions.
Falsy fields are omitted from the request body; if every field is falsy the request is sent with no body at all.
Fields§
§profile_id: Option<String>Attach a stored browser profile (cookies + localStorage).
recording: boolEnable session recording. Off by default.
stealth: boolEnable the runtime stealth shim. Off by default.
captcha: boolEnable managed captcha solving. Requires stealth.
proxy: Option<ProxySpec>Request managed proxy egress. Requires stealth.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSessionOptions
impl Clone for CreateSessionOptions
Source§impl Debug for CreateSessionOptions
impl Debug for CreateSessionOptions
Auto Trait Implementations§
impl Freeze for CreateSessionOptions
impl RefUnwindSafe for CreateSessionOptions
impl Send for CreateSessionOptions
impl Sync for CreateSessionOptions
impl Unpin for CreateSessionOptions
impl UnsafeUnpin for CreateSessionOptions
impl UnwindSafe for CreateSessionOptions
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