pub struct GetSnapshotResponse {
pub dom_nodes: Vec<DOMNode>,
pub layout_tree_nodes: Vec<LayoutTreeNode>,
pub computed_styles: Vec<ComputedStyle>,
}Fields§
§dom_nodes: Vec<DOMNode>The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.
layout_tree_nodes: Vec<LayoutTreeNode>The nodes in the layout tree.
computed_styles: Vec<ComputedStyle>Whitelisted ComputedStyle properties for each node in the layout tree.
Trait Implementations§
Source§impl Clone for GetSnapshotResponse
impl Clone for GetSnapshotResponse
Source§fn clone(&self) -> GetSnapshotResponse
fn clone(&self) -> GetSnapshotResponse
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 GetSnapshotResponse
impl Debug for GetSnapshotResponse
Source§impl<'de> Deserialize<'de> for GetSnapshotResponse
impl<'de> Deserialize<'de> for GetSnapshotResponse
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 GetSnapshotResponse
impl RefUnwindSafe for GetSnapshotResponse
impl Send for GetSnapshotResponse
impl Sync for GetSnapshotResponse
impl Unpin for GetSnapshotResponse
impl UnsafeUnpin for GetSnapshotResponse
impl UnwindSafe for GetSnapshotResponse
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