pub struct BrowserConfig {Show 15 fields
pub user_agent: String,
pub enable_javascript: bool,
pub enable_cookies: bool,
pub enable_cache: bool,
pub max_redirects: usize,
pub timeout_ms: u64,
pub strict_ssl: bool,
pub block_trackers: bool,
pub block_advertisements: bool,
pub ephemeral_session_mode: bool,
pub num_layers: usize,
pub tor_enabled: bool,
pub vpn_enabled: bool,
pub i2p_enabled: bool,
pub obfuscation_enabled: bool,
}Expand description
Browser configuration parameters and security policy enforcement
Fields§
§user_agent: String§enable_javascript: bool§enable_cache: bool§max_redirects: usize§timeout_ms: u64§strict_ssl: bool§block_trackers: bool§block_advertisements: bool§ephemeral_session_mode: bool§num_layers: usize§tor_enabled: bool§vpn_enabled: bool§i2p_enabled: bool§obfuscation_enabled: boolTrait Implementations§
Source§impl Clone for BrowserConfig
impl Clone for BrowserConfig
Source§fn clone(&self) -> BrowserConfig
fn clone(&self) -> BrowserConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrowserConfig
impl Debug for BrowserConfig
Auto Trait Implementations§
impl Freeze for BrowserConfig
impl RefUnwindSafe for BrowserConfig
impl Send for BrowserConfig
impl Sync for BrowserConfig
impl Unpin for BrowserConfig
impl UnwindSafe for BrowserConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)