pub struct BrowserProfile {
pub user_data_dir: Option<PathBuf>,
pub headless: bool,
pub allowed_domains: AllowedDomains,
pub prohibited_domains: Vec<DomainPattern>,
pub block_ip_addresses: bool,
pub viewport_width: u32,
pub viewport_height: u32,
pub headers: Vec<(String, String)>,
pub proxy: Option<Url>,
pub action_timeout: ActionTimeout,
pub stealth: bool,
}Fields§
§user_data_dir: Option<PathBuf>§headless: bool§allowed_domains: AllowedDomains§prohibited_domains: Vec<DomainPattern>§block_ip_addresses: bool§viewport_width: u32§viewport_height: u32§headers: Vec<(String, String)>§proxy: Option<Url>§action_timeout: ActionTimeout§stealth: boolTrait Implementations§
Source§impl Clone for BrowserProfile
impl Clone for BrowserProfile
Source§fn clone(&self) -> BrowserProfile
fn clone(&self) -> BrowserProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrowserProfile
impl Debug for BrowserProfile
Source§impl Default for BrowserProfile
impl Default for BrowserProfile
Source§fn default() -> BrowserProfile
fn default() -> BrowserProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrowserProfile
impl<'de> Deserialize<'de> for BrowserProfile
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
Auto Trait Implementations§
impl Freeze for BrowserProfile
impl RefUnwindSafe for BrowserProfile
impl Send for BrowserProfile
impl Sync for BrowserProfile
impl Unpin for BrowserProfile
impl UnsafeUnpin for BrowserProfile
impl UnwindSafe for BrowserProfile
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