pub struct DocumentSelectors<K> {
pub css: HashMap<K, Vec<Selector>>,
pub xpath: HashMap<K, Vec<String>>,
}Expand description
The type of selectors that can be used to query.
Fields§
§css: HashMap<K, Vec<Selector>>CSS Selectors.
xpath: HashMap<K, Vec<String>>XPath Selectors.
Trait Implementations§
Source§impl<K: Clone> Clone for DocumentSelectors<K>
impl<K: Clone> Clone for DocumentSelectors<K>
Source§fn clone(&self) -> DocumentSelectors<K>
fn clone(&self) -> DocumentSelectors<K>
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<K: Debug> Debug for DocumentSelectors<K>
impl<K: Debug> Debug for DocumentSelectors<K>
Source§impl<K: Default> Default for DocumentSelectors<K>
impl<K: Default> Default for DocumentSelectors<K>
Source§fn default() -> DocumentSelectors<K>
fn default() -> DocumentSelectors<K>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<K> Freeze for DocumentSelectors<K>
impl<K> RefUnwindSafe for DocumentSelectors<K>where
K: RefUnwindSafe,
impl<K> Send for DocumentSelectors<K>where
K: Send,
impl<K> Sync for DocumentSelectors<K>where
K: Sync,
impl<K> Unpin for DocumentSelectors<K>where
K: Unpin,
impl<K> UnwindSafe for DocumentSelectors<K>where
K: UnwindSafe,
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