Struct cdp::dom_debugger::SetEventListenerBreakpointCommand
[−]
[src]
pub struct SetEventListenerBreakpointCommand<'a> { pub event_name: Cow<'a, str>, pub target_name: Option<Cow<'a, str>>, }
Sets breakpoint on particular DOM event.
Command DOMDebugger.setEventListenerBreakpoint
Domain Module: cdp::dom_debugger
Command Struct: cdp::dom_debugger::SetEventListenerBreakpointCommand
Response Struct: cdp::dom_debugger::SetEventListenerBreakpointResponse
Fields
event_name: Cow<'a, str>
DOM Event name to stop on (any DOM event will do).
target_name: Option<Cow<'a, str>>
[Experimental] EventTarget interface name to stop on. If equal to "*"
or not provided, will stop on any EventTarget.
Trait Implementations
impl<'a> Clone for SetEventListenerBreakpointCommand<'a>
[src]
fn clone(&self) -> SetEventListenerBreakpointCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for SetEventListenerBreakpointCommand<'a>
[src]
impl<'a> PartialEq for SetEventListenerBreakpointCommand<'a>
[src]
fn eq(&self, __arg_0: &SetEventListenerBreakpointCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetEventListenerBreakpointCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for SetEventListenerBreakpointCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "DOMDebugger.setEventListenerBreakpoint"
impl<'a> SerializeCdpCommand for SetEventListenerBreakpointCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for SetEventListenerBreakpointCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,