pub struct HeadlessSnapshot {
pub final_url: IndexUrl,
pub dom_html: String,
pub accessibility: Option<AccessibilitySnapshot>,
}Expand description
Rendered snapshot emitted by a headless backend.
Fields§
§final_url: IndexUrlFinal URL for the snapshot.
dom_html: StringRendered DOM HTML.
accessibility: Option<AccessibilitySnapshot>Accessibility tree when available.
Trait Implementations§
Source§impl Clone for HeadlessSnapshot
impl Clone for HeadlessSnapshot
Source§fn clone(&self) -> HeadlessSnapshot
fn clone(&self) -> HeadlessSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HeadlessSnapshot
impl Debug for HeadlessSnapshot
Source§impl PartialEq for HeadlessSnapshot
impl PartialEq for HeadlessSnapshot
Source§fn eq(&self, other: &HeadlessSnapshot) -> bool
fn eq(&self, other: &HeadlessSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HeadlessSnapshot
impl StructuralPartialEq for HeadlessSnapshot
Auto Trait Implementations§
impl Freeze for HeadlessSnapshot
impl RefUnwindSafe for HeadlessSnapshot
impl Send for HeadlessSnapshot
impl Sync for HeadlessSnapshot
impl Unpin for HeadlessSnapshot
impl UnsafeUnpin for HeadlessSnapshot
impl UnwindSafe for HeadlessSnapshot
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