rustenium-cdp-definitions 0.1.1

Generated Chrome DevTools Protocol type definitions for Rustenium
Documentation
use serde::{Deserialize, Serialize};
#[doc = "Issued when new message was logged.\n[entryAdded](https://chromedevtools.github.io/devtools-protocol/tot/Log/#event-entryAdded)"]
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct EntryAddedParams {
    #[doc = "The entry."]
    #[serde(rename = "entry")]
    pub entry: super::types::LogEntry,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum EntryAddedMethod {
    #[serde(rename = "Log.entryAdded")]
    EntryAdded,
}
#[doc = "Issued when new message was logged.\n[entryAdded](https://chromedevtools.github.io/devtools-protocol/tot/Log/#event-entryAdded)"]
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct EntryAdded {
    pub method: EntryAddedMethod,
    pub params: EntryAddedParams,
}
impl EntryAdded {
    pub const IDENTIFIER: &'static str = "Log.entryAdded";
    pub fn identifier(&self) -> &'static str {
        Self::IDENTIFIER
    }
}
group_enum ! (LogEvents { EntryAdded (EntryAdded) } + identifiable);