pub(crate) struct NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k> {Show 26 fields
sdk_language: &'static str,
pub(crate) timeout: Option<f64>,
pub(crate) proxy: Option<ProxySettings>,
pub(crate) viewport: Option<Option<Viewport>>,
pub(crate) screen: Option<Viewport>,
pub(crate) no_viewport: Option<bool>,
pub(crate) ignore_https_errors: Option<bool>,
pub(crate) js_enabled: Option<bool>,
pub(crate) bypass_csp: Option<bool>,
pub(crate) user_agent: Option<&'e str>,
pub(crate) locale: Option<&'f str>,
pub(crate) timezone_id: Option<&'g str>,
pub(crate) geolocation: Option<Geolocation>,
pub(crate) permissions: Option<&'h [String]>,
pub(crate) extra_http_headers: Option<HashMap<String, String>>,
pub(crate) offline: Option<bool>,
pub(crate) http_credentials: Option<&'i HttpCredentials>,
pub(crate) device_scale_factor: Option<f64>,
pub(crate) is_mobile: Option<bool>,
pub(crate) has_touch: Option<bool>,
pub(crate) color_scheme: Option<ColorScheme>,
pub(crate) accept_downloads: Option<bool>,
pub(crate) chromium_sandbox: Option<bool>,
pub(crate) record_video: Option<RecordVideo<'j>>,
pub(crate) record_har: Option<RecordHar<'k>>,
pub(crate) storage_state: Option<StorageState>,
}Fields§
§sdk_language: &'static str§timeout: Option<f64>§proxy: Option<ProxySettings>§viewport: Option<Option<Viewport>>§screen: Option<Viewport>§no_viewport: Option<bool>§ignore_https_errors: Option<bool>§js_enabled: Option<bool>§bypass_csp: Option<bool>§user_agent: Option<&'e str>§locale: Option<&'f str>§timezone_id: Option<&'g str>§geolocation: Option<Geolocation>§permissions: Option<&'h [String]>§extra_http_headers: Option<HashMap<String, String>>§offline: Option<bool>§http_credentials: Option<&'i HttpCredentials>§device_scale_factor: Option<f64>§is_mobile: Option<bool>§has_touch: Option<bool>§color_scheme: Option<ColorScheme>§accept_downloads: Option<bool>§chromium_sandbox: Option<bool>§record_video: Option<RecordVideo<'j>>§record_har: Option<RecordHar<'k>>§storage_state: Option<StorageState>Trait Implementations§
Source§impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Debug for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Debug for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
Source§impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Default for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Default for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
Auto Trait Implementations§
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Freeze for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> RefUnwindSafe for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Send for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Sync for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> Unpin for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'e, 'f, 'g, 'h, 'i, 'j, 'k> UnwindSafe for NewContextArgs<'e, 'f, 'g, 'h, 'i, 'j, 'k>
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