Struct cdp::dom_debugger::GetEventListenersCommand [] [src]

pub struct GetEventListenersCommand<'a> {
    pub object_id: RemoteObjectId<'a>,
    pub depth: Option<i32>,
    pub pierce: Option<bool>,
}

[Experimental] Returns event listeners of the given object.

Command DOMDebugger.getEventListeners

Domain Module: cdp::dom_debugger
Command Struct: cdp::dom_debugger::GetEventListenersCommand
Response Struct: cdp::dom_debugger::GetEventListenersResponse

Fields

Identifier of the object to return listeners for.

[Experimental] The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

[Experimental] Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

COMMAND_NAME: &'static str = "DOMDebugger.getEventListeners"

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

[src]

[src]

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

[src]

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