pub(crate) struct LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> {Show 38 fields
user_data_dir: &'a Path,
sdk_language: &'static str,
pub(crate) executable: Option<&'b Path>,
pub(crate) args: Option<&'c [String]>,
pub(crate) ignore_all_default_args: Option<bool>,
pub(crate) handle_sigint: Option<bool>,
pub(crate) handle_sigterm: Option<bool>,
pub(crate) handle_sighup: Option<bool>,
pub(crate) timeout: Option<f64>,
pub(crate) env: Option<Map<String, Value>>,
pub(crate) headless: Option<bool>,
pub(crate) devtools: Option<bool>,
pub(crate) proxy: Option<ProxySettings>,
pub(crate) downloads: Option<&'d Path>,
pub(crate) slowmo: Option<f64>,
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) channel: Option<BrowserChannel>,
}Fields§
§user_data_dir: &'a Path§sdk_language: &'static str§executable: Option<&'b Path>§args: Option<&'c [String]>§ignore_all_default_args: Option<bool>§handle_sigint: Option<bool>§handle_sigterm: Option<bool>§handle_sighup: Option<bool>§timeout: Option<f64>§env: Option<Map<String, Value>>§headless: Option<bool>§devtools: Option<bool>§proxy: Option<ProxySettings>§downloads: Option<&'d Path>§slowmo: Option<f64>§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>>§channel: Option<BrowserChannel>Implementations§
Trait Implementations§
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Debug for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Debug for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Serialize for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Serialize for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
Auto Trait Implementations§
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Freeze for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> RefUnwindSafe for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Send for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Sync for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> Unpin for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k>
impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, 'j, 'k> UnwindSafe for LaunchPersistentContextArgs<'a, 'b, 'c, 'd, '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