pub struct SetBreakpointByUrl {
pub method: SetBreakpointByUrlMethod,
pub params: SetBreakpointByUrlParams,
}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.
setBreakpointByUrl
Fields§
§method: SetBreakpointByUrlMethod§params: SetBreakpointByUrlParamsImplementations§
Source§impl SetBreakpointByUrl
impl SetBreakpointByUrl
pub fn builder() -> SetBreakpointByUrlBuilder
Source§impl SetBreakpointByUrl
impl SetBreakpointByUrl
pub const IDENTIFIER: &'static str = "Debugger.setBreakpointByUrl"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetBreakpointByUrl
impl Clone for SetBreakpointByUrl
Source§fn clone(&self) -> SetBreakpointByUrl
fn clone(&self) -> SetBreakpointByUrl
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 CommandResult for SetBreakpointByUrl
impl CommandResult for SetBreakpointByUrl
type Result = SetBreakpointByUrlResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetBreakpointByUrl
impl Debug for SetBreakpointByUrl
Source§impl<'de> Deserialize<'de> for SetBreakpointByUrl
impl<'de> Deserialize<'de> for SetBreakpointByUrl
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
Source§impl From<SetBreakpointByUrl> for Command
impl From<SetBreakpointByUrl> for Command
Source§fn from(v: SetBreakpointByUrl) -> Self
fn from(v: SetBreakpointByUrl) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakpointByUrl> for DebuggerCommands
impl From<SetBreakpointByUrl> for DebuggerCommands
Source§fn from(v: SetBreakpointByUrl) -> Self
fn from(v: SetBreakpointByUrl) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakpointByUrl> for JsProtocolCommands
impl From<SetBreakpointByUrl> for JsProtocolCommands
Source§fn from(v: SetBreakpointByUrl) -> Self
fn from(v: SetBreakpointByUrl) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBreakpointByUrl
impl PartialEq for SetBreakpointByUrl
Source§impl Serialize for SetBreakpointByUrl
impl Serialize for SetBreakpointByUrl
Source§impl TryFrom<Command> for SetBreakpointByUrl
impl TryFrom<Command> for SetBreakpointByUrl
Source§impl TryFrom<DebuggerCommands> for SetBreakpointByUrl
impl TryFrom<DebuggerCommands> for SetBreakpointByUrl
Source§type Error = DebuggerCommands
type Error = DebuggerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerCommands,
) -> Result<Self, <SetBreakpointByUrl as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBreakpointByUrl as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for SetBreakpointByUrl
impl TryFrom<JsProtocolCommands> for SetBreakpointByUrl
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <SetBreakpointByUrl as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <SetBreakpointByUrl as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetBreakpointByUrl
Auto Trait Implementations§
impl Freeze for SetBreakpointByUrl
impl RefUnwindSafe for SetBreakpointByUrl
impl Send for SetBreakpointByUrl
impl Sync for SetBreakpointByUrl
impl Unpin for SetBreakpointByUrl
impl UnsafeUnpin for SetBreakpointByUrl
impl UnwindSafe for SetBreakpointByUrl
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