pub struct SetEventListenerBreakpointParams {
pub event_name: String,
pub target_name: Option<String>,
}
Expand description
Sets breakpoint on particular DOM event. setEventListenerBreakpoint
Fields§
§event_name: String
DOM Event name to stop on (any DOM event will do).
target_name: Option<String>
EventTarget interface name to stop on. If equal to "*"
or not provided, will stop on any
EventTarget.
Implementations§
source§impl SetEventListenerBreakpointParams
impl SetEventListenerBreakpointParams
pub fn new(event_name: impl Into<String>) -> SetEventListenerBreakpointParams
source§impl SetEventListenerBreakpointParams
impl SetEventListenerBreakpointParams
pub fn builder() -> SetEventListenerBreakpointParamsBuilder
source§impl SetEventListenerBreakpointParams
impl SetEventListenerBreakpointParams
pub const IDENTIFIER: &'static str = "DOMDebugger.setEventListenerBreakpoint"
Trait Implementations§
source§impl Clone for SetEventListenerBreakpointParams
impl Clone for SetEventListenerBreakpointParams
source§fn clone(&self) -> SetEventListenerBreakpointParams
fn clone(&self) -> SetEventListenerBreakpointParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Command for SetEventListenerBreakpointParams
impl Command for SetEventListenerBreakpointParams
§type Response = SetEventListenerBreakpointReturns
type Response = SetEventListenerBreakpointReturns
The type of the response this request triggers on the chromium server
source§impl<'de> Deserialize<'de> for SetEventListenerBreakpointParams
impl<'de> Deserialize<'de> for SetEventListenerBreakpointParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SetEventListenerBreakpointParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SetEventListenerBreakpointParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<T> for SetEventListenerBreakpointParams
impl<T> From<T> for SetEventListenerBreakpointParams
source§fn from(url: T) -> SetEventListenerBreakpointParams
fn from(url: T) -> SetEventListenerBreakpointParams
Converts to this type from the input type.
source§impl Method for SetEventListenerBreakpointParams
impl Method for SetEventListenerBreakpointParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl PartialEq for SetEventListenerBreakpointParams
impl PartialEq for SetEventListenerBreakpointParams
source§fn eq(&self, other: &SetEventListenerBreakpointParams) -> bool
fn eq(&self, other: &SetEventListenerBreakpointParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetEventListenerBreakpointParams
impl Serialize for SetEventListenerBreakpointParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetEventListenerBreakpointParams
Auto Trait Implementations§
impl Freeze for SetEventListenerBreakpointParams
impl RefUnwindSafe for SetEventListenerBreakpointParams
impl Send for SetEventListenerBreakpointParams
impl Sync for SetEventListenerBreakpointParams
impl Unpin for SetEventListenerBreakpointParams
impl UnwindSafe for SetEventListenerBreakpointParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more