Struct chromiumoxide::cdp::browser_protocol::dom_snapshot::CaptureSnapshotReturns[][src]

pub struct CaptureSnapshotReturns {
    pub documents: Vec<DocumentSnapshot, Global>,
    pub strings: Vec<String, Global>,
}

Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened. captureSnapshot

Fields

documents: Vec<DocumentSnapshot, Global>

The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.

strings: Vec<String, Global>

Shared string table that all string properties refer to with indexes.

Implementations

impl CaptureSnapshotReturns[src]

pub fn new(
    documents: Vec<DocumentSnapshot, Global>,
    strings: Vec<String, Global>
) -> CaptureSnapshotReturns
[src]

impl CaptureSnapshotReturns[src]

Trait Implementations

impl Clone for CaptureSnapshotReturns[src]

impl Debug for CaptureSnapshotReturns[src]

impl<'de> Deserialize<'de> for CaptureSnapshotReturns[src]

impl PartialEq<CaptureSnapshotReturns> for CaptureSnapshotReturns[src]

impl Serialize for CaptureSnapshotReturns[src]

impl StructuralPartialEq for CaptureSnapshotReturns[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,