pub struct SetBreakpointByUrlReturn { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
command is issued, all existing parsed scripts will have breakpoints resolved and returned in
locations property. Further matching script parsing will result in subsequent
breakpointResolved events issued. This logical breakpoint will survive page reloads.
Implementations§
Source§impl SetBreakpointByUrlReturn
impl SetBreakpointByUrlReturn
pub fn new(breakpoint_id: BreakpointId, locations: Vec<Location>) -> Self
Sourcepub fn breakpoint_id(&self) -> &BreakpointId
pub fn breakpoint_id(&self) -> &BreakpointId
Id of the created breakpoint for further reference.
Trait Implementations§
Source§impl Clone for SetBreakpointByUrlReturn
impl Clone for SetBreakpointByUrlReturn
Source§fn clone(&self) -> SetBreakpointByUrlReturn
fn clone(&self) -> SetBreakpointByUrlReturn
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 Debug for SetBreakpointByUrlReturn
impl Debug for SetBreakpointByUrlReturn
Source§impl<'de> Deserialize<'de> for SetBreakpointByUrlReturn
impl<'de> Deserialize<'de> for SetBreakpointByUrlReturn
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 SetBreakpointByUrlReturn
impl RefUnwindSafe for SetBreakpointByUrlReturn
impl Send for SetBreakpointByUrlReturn
impl Sync for SetBreakpointByUrlReturn
impl Unpin for SetBreakpointByUrlReturn
impl UnwindSafe for SetBreakpointByUrlReturn
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