pub struct SetBreakpoint {
pub method: SetBreakpointMethod,
pub params: SetBreakpointParams,
}Expand description
Sets JavaScript breakpoint at a given location. setBreakpoint
Fields§
§method: SetBreakpointMethod§params: SetBreakpointParamsImplementations§
Source§impl SetBreakpoint
impl SetBreakpoint
pub fn builder() -> SetBreakpointBuilder
Source§impl SetBreakpoint
impl SetBreakpoint
pub const IDENTIFIER: &'static str = "Debugger.setBreakpoint"
pub fn identifier(&self) -> &'static str
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 CommandResult for SetBreakpoint
impl CommandResult for SetBreakpoint
type Result = SetBreakpointResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§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 From<SetBreakpoint> for Command
impl From<SetBreakpoint> for Command
Source§fn from(v: SetBreakpoint) -> Self
fn from(v: SetBreakpoint) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakpoint> for DebuggerCommands
impl From<SetBreakpoint> for DebuggerCommands
Source§fn from(v: SetBreakpoint) -> Self
fn from(v: SetBreakpoint) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakpoint> for JsProtocolCommands
impl From<SetBreakpoint> for JsProtocolCommands
Source§fn from(v: SetBreakpoint) -> Self
fn from(v: SetBreakpoint) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBreakpoint
impl PartialEq for SetBreakpoint
Source§impl Serialize for SetBreakpoint
impl Serialize for SetBreakpoint
Source§impl TryFrom<Command> for SetBreakpoint
impl TryFrom<Command> for SetBreakpoint
Source§impl TryFrom<DebuggerCommands> for SetBreakpoint
impl TryFrom<DebuggerCommands> for SetBreakpoint
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, <SetBreakpoint as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetBreakpoint as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for SetBreakpoint
impl TryFrom<JsProtocolCommands> for SetBreakpoint
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, <SetBreakpoint as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <SetBreakpoint as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
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