Struct cdp::profiler::ConsoleProfileStartedEvent
[−]
[src]
pub struct ConsoleProfileStartedEvent<'a> { pub id: Cow<'a, str>, pub location: Location<'a>, pub title: Option<Cow<'a, str>>, }
Sent when new profile recording is started using console.profile() call.
Event Profiler.consoleProfileStarted
Domain Module: cdp::profiler
Event Struct: cdp::profiler::ConsoleProfileStartedEvent
Fields
id: Cow<'a, str>
location: Location<'a>
Location of console.profile().
title: Option<Cow<'a, str>>
Profile title passed as an argument to console.profile().
Trait Implementations
impl<'a> Clone for ConsoleProfileStartedEvent<'a>
[src]
fn clone(&self) -> ConsoleProfileStartedEvent<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ConsoleProfileStartedEvent<'a>
[src]
impl<'a> PartialEq for ConsoleProfileStartedEvent<'a>
[src]
fn eq(&self, __arg_0: &ConsoleProfileStartedEvent<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConsoleProfileStartedEvent<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpEvent for ConsoleProfileStartedEvent<'a>
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Profiler.consoleProfileStarted"
impl<'a> SerializeCdpEvent for ConsoleProfileStartedEvent<'a>
[src]
fn event_name(&self) -> &str
[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpEvent<'de> for ConsoleProfileStartedEvent<'a>
[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,