Struct cdp::dom::SetNodeNameCommand [] [src]

pub struct SetNodeNameCommand<'a> {
    pub node_id: NodeId,
    pub name: Cow<'a, str>,
}

Sets node name for a node with given id.

Command DOM.setNodeName

Domain Module: cdp::dom
Command Struct: cdp::dom::SetNodeNameCommand
Response Struct: cdp::dom::SetNodeNameResponse

Fields

Id of the node to set name for.

New node's name.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

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

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

[src]

[src]

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

[src]

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