browser_protocol/crashreportcontext/
mod.rs1use serde::{Serialize, Deserialize};
3use serde_json::Value as JsonValue;
4
5#[derive(Debug, Clone, Serialize, Deserialize, Default)]
8#[serde(rename_all = "camelCase")]
9pub struct CrashReportContextEntry {
10
11 pub key: String,
12
13 pub value: String,
14 pub frameId: crate::page::FrameId,
17}
18
19#[derive(Debug, Clone, Serialize, Deserialize, Default)]
22#[serde(rename_all = "camelCase")]
23pub struct GetEntriesReturns {
24
25 pub entries: Vec<CrashReportContextEntry>,
26}
27
28#[derive(Debug, Clone, Serialize, Deserialize, Default)]
29pub struct GetEntriesParams {}
30
31impl GetEntriesParams { pub const METHOD: &'static str = "CrashReportContext.getEntries"; }
32
33impl crate::CdpCommand for GetEntriesParams {
34 const METHOD: &'static str = "CrashReportContext.getEntries";
35 type Response = GetEntriesReturns;
36}