pub struct ElementQuery {
pub selector: Option<String>,
pub text: Option<String>,
pub role: Option<String>,
}Expand description
Query parameters for element selection.
Fields§
§selector: Option<String>CSS selector to query elements
text: Option<String>Text content to search for
role: Option<String>Role attribute to filter by
Trait Implementations§
Source§impl Debug for ElementQuery
impl Debug for ElementQuery
Source§impl<'de> Deserialize<'de> for ElementQuery
impl<'de> Deserialize<'de> for ElementQuery
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 ElementQuery
impl RefUnwindSafe for ElementQuery
impl Send for ElementQuery
impl Sync for ElementQuery
impl Unpin for ElementQuery
impl UnsafeUnpin for ElementQuery
impl UnwindSafe for ElementQuery
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