pub struct ElementHandle {
pub id: String,
pub tag_name: String,
pub text_content: Option<String>,
pub bounding_box: Option<BoundingBox>,
}Expand description
Element handle for DOM interactions
Fields§
§id: StringUnique identifier for the element
tag_name: StringElement tag name
text_content: Option<String>Element text content
bounding_box: Option<BoundingBox>Bounding box if visible
Implementations§
Trait Implementations§
Source§impl Clone for ElementHandle
impl Clone for ElementHandle
Source§fn clone(&self) -> ElementHandle
fn clone(&self) -> ElementHandle
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 ElementHandle
impl Debug for ElementHandle
Source§impl<'de> Deserialize<'de> for ElementHandle
impl<'de> Deserialize<'de> for ElementHandle
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 ElementHandle
impl RefUnwindSafe for ElementHandle
impl Send for ElementHandle
impl Sync for ElementHandle
impl Unpin for ElementHandle
impl UnsafeUnpin for ElementHandle
impl UnwindSafe for ElementHandle
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