Struct cdp::runtime::ExecutionContextCreatedEvent
[−]
[src]
pub struct ExecutionContextCreatedEvent<'a> {
pub context: ExecutionContextDescription<'a>,
}Issued when new execution context is created.
Event Runtime.executionContextCreated
Domain Module: cdp::runtime
Event Struct: cdp::runtime::ExecutionContextCreatedEvent
Fields
context: ExecutionContextDescription<'a>
A newly created execution context.
Trait Implementations
impl<'a> Clone for ExecutionContextCreatedEvent<'a>[src]
fn clone(&self) -> ExecutionContextCreatedEvent<'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 ExecutionContextCreatedEvent<'a>[src]
impl<'a> PartialEq for ExecutionContextCreatedEvent<'a>[src]
fn eq(&self, __arg_0: &ExecutionContextCreatedEvent<'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: &ExecutionContextCreatedEvent<'a>) -> bool[src]
This method tests for !=.
impl<'a> CdpEvent for ExecutionContextCreatedEvent<'a>[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "Runtime.executionContextCreated"
impl<'a> SerializeCdpEvent for ExecutionContextCreatedEvent<'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 ExecutionContextCreatedEvent<'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>,