Struct cdp::dom::SetOuterHtmlCommand [] [src]

pub struct SetOuterHtmlCommand<'a> {
    pub node_id: NodeId,
    pub outer_html: Cow<'a, str>,
}

Sets node HTML markup, returns new node id.

Command DOM.setOuterHTML

Domain Module: cdp::dom
Command Struct: cdp::dom::SetOuterHtmlCommand
Response Struct: cdp::dom::SetOuterHtmlResponse

Fields

Id of the node to set markup for.

Outer HTML markup to set.

Trait Implementations

impl<'a> Clone for SetOuterHtmlCommand<'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 SetOuterHtmlCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for SetOuterHtmlCommand<'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 SetOuterHtmlCommand<'a>
[src]

COMMAND_NAME: &'static str = "DOM.setOuterHTML"

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

[src]

[src]

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

[src]

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