Struct cdp::dom::MoveToCommand [] [src]

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

Moves node into the new container, places it before the given anchor.

Command DOM.moveTo

Domain Module: cdp::dom
Command Struct: cdp::dom::MoveToCommand
Response Struct: cdp::dom::MoveToResponse

Fields

Id of the node to move.

Id of the element to drop the moved node into.

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

Trait Implementations

impl Clone for MoveToCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MoveToCommand
[src]

[src]

Formats the value using the given formatter.

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

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

impl SerializeCdpCommand for MoveToCommand
[src]

[src]

[src]

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

[src]

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