Struct cdp::dom_snapshot::GetSnapshotCommand [] [src]

pub struct GetSnapshotCommand<'a> {
    pub computed_style_whitelist: Vec<Cow<'a, str>>,
}

[Experimental] 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.

Command DOMSnapshot.getSnapshot

Domain Module: cdp::dom_snapshot
Command Struct: cdp::dom_snapshot::GetSnapshotCommand
Response Struct: cdp::dom_snapshot::GetSnapshotResponse

Fields

Whitelist of computed styles to return.

Trait Implementations

impl<'a> Clone for GetSnapshotCommand<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for GetSnapshotCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for GetSnapshotCommand<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for GetSnapshotCommand<'a>
[src]

COMMAND_NAME: &'static str = "DOMSnapshot.getSnapshot"

impl<'a> SerializeCdpCommand for GetSnapshotCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for GetSnapshotCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for GetSnapshotCommand<'a>
[src]