pub struct WebDriverConfig {
pub query_poller: ElementPoller,
pub custom_settings: HashMap<String, Value>,
}Fields§
§query_poller: ElementPoller§custom_settings: HashMap<String, Value>Implementations§
Source§impl WebDriverConfig
impl WebDriverConfig
pub fn new() -> WebDriverConfig
pub fn get<V>(&self, key: &str) -> Option<V>where
V: DeserializeOwned,
pub fn set<V>(&mut self, key: &str, value: V) -> Result<(), WebDriverError>where
V: Serialize,
Trait 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§fn default() -> WebDriverConfig
fn default() -> WebDriverConfig
Returns the “default value” for a type. 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