Struct cdp::dom::FocusCommand [] [src]

pub struct FocusCommand<'a> {
    pub node_id: Option<NodeId>,
    pub backend_node_id: Option<BackendNodeId>,
    pub object_id: Option<RemoteObjectId<'a>>,
}

[Experimental] Focuses the given element.

Command DOM.focus

Domain Module: cdp::dom
Command Struct: cdp::dom::FocusCommand
Response Struct: cdp::dom::FocusResponse

Fields

Identifier of the node.

Identifier of the backend node.

JavaScript object id of the node wrapper.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

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

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

[src]

[src]

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

[src]

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