rustenium_cdp_definitions/browser_protocol/event_breakpoints/
results.rs1use serde::{Deserialize, Serialize};
2#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize)]
3pub struct SetInstrumentationBreakpointResult {}
4impl TryFrom<serde_json::Value> for SetInstrumentationBreakpointResult {
5 type Error = serde_json::Error;
6 fn try_from(value: serde_json::Value) -> Result<Self, Self::Error> {
7 serde_json::from_value(value)
8 }
9}
10#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize)]
11pub struct RemoveInstrumentationBreakpointResult {}
12impl TryFrom<serde_json::Value> for RemoveInstrumentationBreakpointResult {
13 type Error = serde_json::Error;
14 fn try_from(value: serde_json::Value) -> Result<Self, Self::Error> {
15 serde_json::from_value(value)
16 }
17}
18#[derive(Debug, Clone, PartialEq, Default, Serialize, Deserialize)]
19pub struct DisableResult {}
20impl TryFrom<serde_json::Value> for DisableResult {
21 type Error = serde_json::Error;
22 fn try_from(value: serde_json::Value) -> Result<Self, Self::Error> {
23 serde_json::from_value(value)
24 }
25}