Struct chromiumoxide::cdp::js_protocol::runtime::ExecutionContextDescription[][src]

pub struct ExecutionContextDescription {
    pub id: ExecutionContextId,
    pub origin: String,
    pub name: String,
    pub aux_data: Option<Value>,
}

Description of an isolated world. ExecutionContextDescription

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: String

Execution context origin.

name: String

Human readable name describing given context.

aux_data: Option<Value>

Embedder-specific auxiliary data.

Implementations

impl ExecutionContextDescription[src]

pub fn new(
    id: impl Into<ExecutionContextId>,
    origin: impl Into<String>,
    name: impl Into<String>
) -> ExecutionContextDescription
[src]

impl ExecutionContextDescription[src]

impl ExecutionContextDescription[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for ExecutionContextDescription[src]

impl Debug for ExecutionContextDescription[src]

impl<'de> Deserialize<'de> for ExecutionContextDescription[src]

impl PartialEq<ExecutionContextDescription> for ExecutionContextDescription[src]

impl Serialize for ExecutionContextDescription[src]

impl StructuralPartialEq for ExecutionContextDescription[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,