pub struct DistriBrowserConfig {
pub window_size: Option<(u32, u32)>,
pub headless: Option<bool>,
pub enable_stealth_mode: bool,
pub enable_real_emulation: bool,
pub proxy: Option<BrowserProxy>,
}Expand description
Chromium driver configuration shared across orchestrator + CLI
Fields§
§window_size: Option<(u32, u32)>Preferred viewport size (defaults to 1920x1080)
headless: Option<bool>Whether to run Chromium in headless mode
enable_stealth_mode: boolEnable stealth adjustments to reduce detection heuristics
enable_real_emulation: boolEnable Spider’s “real” emulation for fonts, media, etc.
proxy: Option<BrowserProxy>Optional proxy information passed to Chromium
Trait Implementations§
Source§impl Clone for DistriBrowserConfig
impl Clone for DistriBrowserConfig
Source§fn clone(&self) -> DistriBrowserConfig
fn clone(&self) -> DistriBrowserConfig
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 DistriBrowserConfig
impl Debug for DistriBrowserConfig
Source§impl Default for DistriBrowserConfig
impl Default for DistriBrowserConfig
Source§impl<'de> Deserialize<'de> for DistriBrowserConfigwhere
DistriBrowserConfig: Default,
impl<'de> Deserialize<'de> for DistriBrowserConfigwhere
DistriBrowserConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for DistriBrowserConfig
impl JsonSchema for DistriBrowserConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for DistriBrowserConfig
impl RefUnwindSafe for DistriBrowserConfig
impl Send for DistriBrowserConfig
impl Sync for DistriBrowserConfig
impl Unpin for DistriBrowserConfig
impl UnwindSafe for DistriBrowserConfig
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)