pub struct WebDriverConfig {
pub enabled: bool,
pub safari_port: u16,
pub chrome_port: u16,
pub chrome_binary: Option<String>,
pub browser: WebDriverBrowser,
}Fields§
§enabled: bool§safari_port: u16§chrome_port: u16§chrome_binary: Option<String>Optional path to Chrome binary (e.g., Chrome for Testing) If not set, ChromeDriver will use the default Chrome installation
browser: WebDriverBrowserTrait Implementations§
Source§impl Clone for WebDriverConfig
impl Clone for WebDriverConfig
Source§fn clone(&self) -> WebDriverConfig
fn clone(&self) -> WebDriverConfig
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 WebDriverConfig
impl Debug for WebDriverConfig
Source§impl Default for WebDriverConfig
impl Default for WebDriverConfig
Source§impl<'de> Deserialize<'de> for WebDriverConfig
impl<'de> Deserialize<'de> for WebDriverConfig
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 WebDriverConfig
impl RefUnwindSafe for WebDriverConfig
impl Send for WebDriverConfig
impl Sync for WebDriverConfig
impl Unpin for WebDriverConfig
impl UnwindSafe for WebDriverConfig
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