use serde::{Serialize, Deserialize};
use serde_json::Value as JsonValue;
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct SetInstrumentationBreakpointParams {
pub eventName: String,
}
impl SetInstrumentationBreakpointParams { pub const METHOD: &'static str = "EventBreakpoints.setInstrumentationBreakpoint"; }
impl crate::CdpCommand for SetInstrumentationBreakpointParams {
const METHOD: &'static str = "EventBreakpoints.setInstrumentationBreakpoint";
type Response = crate::EmptyReturns;
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct RemoveInstrumentationBreakpointParams {
pub eventName: String,
}
impl RemoveInstrumentationBreakpointParams { pub const METHOD: &'static str = "EventBreakpoints.removeInstrumentationBreakpoint"; }
impl crate::CdpCommand for RemoveInstrumentationBreakpointParams {
const METHOD: &'static str = "EventBreakpoints.removeInstrumentationBreakpoint";
type Response = crate::EmptyReturns;
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct DisableParams {}
impl DisableParams { pub const METHOD: &'static str = "EventBreakpoints.disable"; }
impl crate::CdpCommand for DisableParams {
const METHOD: &'static str = "EventBreakpoints.disable";
type Response = crate::EmptyReturns;
}