pub struct SetBreakpoint {
pub location: Location,
pub condition: Option<String>,
}Expand description
Sets JavaScript breakpoint at a given location.
Fields§
§location: LocationLocation to set breakpoint in.
condition: Option<String>Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
Trait Implementations§
Source§impl Clone for SetBreakpoint
impl Clone for SetBreakpoint
Source§fn clone(&self) -> SetBreakpoint
fn clone(&self) -> SetBreakpoint
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 SetBreakpoint
impl Debug for SetBreakpoint
Source§impl<'de> Deserialize<'de> for SetBreakpoint
impl<'de> Deserialize<'de> for SetBreakpoint
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 Method for SetBreakpoint
impl Method for SetBreakpoint
const NAME: &'static str = "Debugger.setBreakpoint"
type ReturnObject = SetBreakpointReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for SetBreakpoint
impl PartialEq for SetBreakpoint
Source§impl Serialize for SetBreakpoint
impl Serialize for SetBreakpoint
impl StructuralPartialEq for SetBreakpoint
Auto Trait Implementations§
impl Freeze for SetBreakpoint
impl RefUnwindSafe for SetBreakpoint
impl Send for SetBreakpoint
impl Sync for SetBreakpoint
impl Unpin for SetBreakpoint
impl UnsafeUnpin for SetBreakpoint
impl UnwindSafe for SetBreakpoint
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