pub struct SetEventListenerBreakpointParams {
pub eventName: String,
pub targetName: Option<String>,
}Expand description
Sets breakpoint on particular DOM event.
Fields§
§eventName: StringDOM Event name to stop on (any DOM event will do).
targetName: Option<String>EventTarget interface name to stop on. If equal to ‘“*”’ or not provided, will stop on any EventTarget.
Implementations§
Trait Implementations§
Source§impl Clone for SetEventListenerBreakpointParams
impl Clone for SetEventListenerBreakpointParams
Source§fn clone(&self) -> SetEventListenerBreakpointParams
fn clone(&self) -> SetEventListenerBreakpointParams
Returns a duplicate 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 Default for SetEventListenerBreakpointParams
impl Default for SetEventListenerBreakpointParams
Source§fn default() -> SetEventListenerBreakpointParams
fn default() -> SetEventListenerBreakpointParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetEventListenerBreakpointParams
impl<'de> Deserialize<'de> for SetEventListenerBreakpointParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetEventListenerBreakpointParams
impl RefUnwindSafe for SetEventListenerBreakpointParams
impl Send for SetEventListenerBreakpointParams
impl Sync for SetEventListenerBreakpointParams
impl Unpin for SetEventListenerBreakpointParams
impl UnsafeUnpin 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