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

pub struct CaptureSnapshotParams {
    pub computed_styles: Vec<String, Global>,
    pub include_paint_order: Option<bool>,
    pub include_dom_rects: Option<bool>,
}

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

computed_styles: Vec<String, Global>

Whitelist of computed styles to return.

include_paint_order: Option<bool>

Whether to include layout object paint orders into the snapshot.

include_dom_rects: Option<bool>

Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot

Implementations

impl CaptureSnapshotParams[src]

pub fn new(computed_styles: Vec<String, Global>) -> CaptureSnapshotParams[src]

impl CaptureSnapshotParams[src]

impl CaptureSnapshotParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for CaptureSnapshotParams[src]

impl Command for CaptureSnapshotParams[src]

type Response = CaptureSnapshotReturns

The type of the response this request triggers on the chromium server

impl Debug for CaptureSnapshotParams[src]

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

impl Method for CaptureSnapshotParams[src]

impl MethodType for CaptureSnapshotParams[src]

impl PartialEq<CaptureSnapshotParams> for CaptureSnapshotParams[src]

impl Serialize for CaptureSnapshotParams[src]

impl StructuralPartialEq for CaptureSnapshotParams[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>,