pub struct TargetConfig {Show 13 fields
pub ignore_https_errors: bool,
pub request_timeout: Duration,
pub viewport: Option<Viewport>,
pub request_intercept: bool,
pub cache_enabled: bool,
pub ignore_visuals: bool,
pub ignore_javascript: bool,
pub ignore_analytics: bool,
pub ignore_stylesheets: bool,
pub only_html: bool,
pub service_worker_enabled: bool,
pub extra_headers: Option<HashMap<String, String>>,
pub intercept_manager: NetworkInterceptManager,
}Fields§
§ignore_https_errors: bool§request_timeout: DurationRequest timeout to use
viewport: Option<Viewport>§request_intercept: bool§cache_enabled: bool§ignore_visuals: bool§ignore_javascript: bool§ignore_analytics: bool§ignore_stylesheets: bool§only_html: bool§service_worker_enabled: bool§extra_headers: Option<HashMap<String, String>>§intercept_manager: NetworkInterceptManagerTrait Implementations§
Source§impl Clone for TargetConfig
impl Clone for TargetConfig
Source§fn clone(&self) -> TargetConfig
fn clone(&self) -> TargetConfig
Returns a duplicate 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 TargetConfig
impl Debug for TargetConfig
Auto Trait Implementations§
impl Freeze for TargetConfig
impl RefUnwindSafe for TargetConfig
impl Send for TargetConfig
impl Sync for TargetConfig
impl Unpin for TargetConfig
impl UnwindSafe for TargetConfig
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