Struct cdp::runtime::ExecutionContextDescription
[−]
[src]
pub struct ExecutionContextDescription<'a> { pub id: ExecutionContextId, pub origin: Cow<'a, str>, pub name: Cow<'a, str>, pub aux_data: Option<Empty>, }
Description of an isolated world.
Fields
id: ExecutionContextId
Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
origin: Cow<'a, str>
Execution context origin.
name: Cow<'a, str>
Human readable name describing given context.
aux_data: Option<Empty>
Embedder-specific auxiliary data.
Trait Implementations
impl<'a> Clone for ExecutionContextDescription<'a>
[src]
fn clone(&self) -> ExecutionContextDescription<'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 ExecutionContextDescription<'a>
[src]
impl<'a> PartialEq for ExecutionContextDescription<'a>
[src]
fn eq(&self, __arg_0: &ExecutionContextDescription<'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: &ExecutionContextDescription<'a>) -> bool
[src]
This method tests for !=
.