Struct chromiumoxide::handler::HandlerConfig
source · pub struct HandlerConfig {
pub ignore_https_errors: bool,
pub viewport: Option<Viewport>,
pub context_ids: Vec<BrowserContextId>,
pub request_timeout: Duration,
pub request_intercept: bool,
pub cache_enabled: bool,
}
Expand description
How to configure the handler
Fields§
§ignore_https_errors: bool
Whether the NetworkManager
s should ignore https errors
viewport: Option<Viewport>
Window and device settings
context_ids: Vec<BrowserContextId>
Context ids to set from the get go
request_timeout: Duration
default request timeout to use
request_intercept: bool
Whether to enable request interception
cache_enabled: bool
Whether to enable cache
Trait Implementations§
source§impl Clone for HandlerConfig
impl Clone for HandlerConfig
source§fn clone(&self) -> HandlerConfig
fn clone(&self) -> HandlerConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HandlerConfig
impl Debug for HandlerConfig
Auto Trait Implementations§
impl Freeze for HandlerConfig
impl RefUnwindSafe for HandlerConfig
impl Send for HandlerConfig
impl Sync for HandlerConfig
impl Unpin for HandlerConfig
impl UnwindSafe for HandlerConfig
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