pub struct ElementLogInfo {
pub tag_name: String,
pub text_preview: String,
pub attributes: Vec<(String, String)>,
}Expand description
Information about an element for logging purposes.
Fields§
§tag_name: StringThe element’s tag name.
text_preview: StringThe element’s text content (truncated).
attributes: Vec<(String, String)>Key attributes for identification.
Trait Implementations§
Source§impl Clone for ElementLogInfo
impl Clone for ElementLogInfo
Source§fn clone(&self) -> ElementLogInfo
fn clone(&self) -> ElementLogInfo
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 ElementLogInfo
impl Debug for ElementLogInfo
Auto Trait Implementations§
impl Freeze for ElementLogInfo
impl RefUnwindSafe for ElementLogInfo
impl Send for ElementLogInfo
impl Sync for ElementLogInfo
impl Unpin for ElementLogInfo
impl UnsafeUnpin for ElementLogInfo
impl UnwindSafe for ElementLogInfo
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