pub struct SetBreakpointByUrlReturns<'a> { /* private fields */ }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<'a> SetBreakpointByUrlReturns<'a>
impl<'a> SetBreakpointByUrlReturns<'a>
Sourcepub fn builder(
breakpoint_id: impl Into<BreakpointId<'a>>,
locations: Vec<Location<'a>>,
) -> SetBreakpointByUrlReturnsBuilder<'a>
pub fn builder( breakpoint_id: impl Into<BreakpointId<'a>>, locations: Vec<Location<'a>>, ) -> SetBreakpointByUrlReturnsBuilder<'a>
Creates a builder for this type with the required parameters:
breakpoint_id: Id of the created breakpoint for further reference.locations: List of the locations this breakpoint resolved into upon addition.
Sourcepub fn breakpoint_id(&self) -> &BreakpointId<'a>
pub fn breakpoint_id(&self) -> &BreakpointId<'a>
Id of the created breakpoint for further reference.
Trait Implementations§
Source§impl<'a> Clone for SetBreakpointByUrlReturns<'a>
impl<'a> Clone for SetBreakpointByUrlReturns<'a>
Source§fn clone(&self) -> SetBreakpointByUrlReturns<'a>
fn clone(&self) -> SetBreakpointByUrlReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetBreakpointByUrlReturns<'a>
impl<'a> Debug for SetBreakpointByUrlReturns<'a>
Source§impl<'a> Default for SetBreakpointByUrlReturns<'a>
impl<'a> Default for SetBreakpointByUrlReturns<'a>
Source§fn default() -> SetBreakpointByUrlReturns<'a>
fn default() -> SetBreakpointByUrlReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetBreakpointByUrlReturns<'a>
impl<'de, 'a> Deserialize<'de> for SetBreakpointByUrlReturns<'a>
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<'a> Freeze for SetBreakpointByUrlReturns<'a>
impl<'a> RefUnwindSafe for SetBreakpointByUrlReturns<'a>
impl<'a> Send for SetBreakpointByUrlReturns<'a>
impl<'a> Sync for SetBreakpointByUrlReturns<'a>
impl<'a> Unpin for SetBreakpointByUrlReturns<'a>
impl<'a> UnsafeUnpin for SetBreakpointByUrlReturns<'a>
impl<'a> UnwindSafe for SetBreakpointByUrlReturns<'a>
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