Struct cdp::dom::CopyToCommand [] [src]

pub struct CopyToCommand {
    pub node_id: NodeId,
    pub target_node_id: NodeId,
    pub insert_before_node_id: Option<NodeId>,
}

[Experimental] Creates a deep copy of the specified node and places it into the target container before the given anchor.

Command DOM.copyTo

Domain Module: cdp::dom
Command Struct: cdp::dom::CopyToCommand
Response Struct: cdp::dom::CopyToResponse

Fields

Id of the node to copy.

Id of the element to drop the copy into.

Drop the copy before this node (if absent, the copy becomes the last child of targetNodeId).

Trait Implementations

impl Clone for CopyToCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CopyToCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for CopyToCommand
[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 CdpCommand for CopyToCommand
[src]

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

impl SerializeCdpCommand for CopyToCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for CopyToCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for CopyToCommand
[src]