browser-protocol 0.1.0

Generated Rust types and commands for the Chrome DevTools Protocol (browser-protocol)
Documentation
//! This domain exposes the current state of the CrashReportContext API.

use serde::{Serialize, Deserialize};

/// Key-value pair in CrashReportContext.

#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct CrashReportContextEntry {

    pub key: String,

    pub value: String,
    /// The ID of the frame where the key-value pair was set.

    pub frameId: crate::page::FrameId,
}

/// Returns all entries in the CrashReportContext across all frames in the page.

#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct GetEntriesReturns {

    pub entries: Vec<CrashReportContextEntry>,
}