pub struct ExecutionContextDescription {
pub id: ExecutionContextId,
pub origin: String,
pub name: String,
pub unique_id: String,
pub aux_data: Option<Value>,
}Expand description
Description of an isolated world. ExecutionContextDescription
Fields§
§id: ExecutionContextIdUnique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
origin: StringExecution context origin.
name: StringHuman readable name describing given context.
unique_id: StringA system-unique execution context identifier. Unlike the id, this is unique across multiple processes, so can be reliably used to identify specific context while backend performs a cross-process navigation.
aux_data: Option<Value>Embedder-specific auxiliary data likely matching {isDefault: boolean, type: ‘default’|‘isolated’|‘worker’, frameId: string}
Implementations§
Source§impl ExecutionContextDescription
impl ExecutionContextDescription
pub const IDENTIFIER: &'static str = "Runtime.ExecutionContextDescription"
Trait Implementations§
Source§impl Clone for ExecutionContextDescription
impl Clone for ExecutionContextDescription
Source§fn clone(&self) -> ExecutionContextDescription
fn clone(&self) -> ExecutionContextDescription
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionContextDescription
impl Debug for ExecutionContextDescription
Source§impl<'de> Deserialize<'de> for ExecutionContextDescription
impl<'de> Deserialize<'de> for ExecutionContextDescription
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionContextDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionContextDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExecutionContextDescription
impl Serialize for ExecutionContextDescription
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExecutionContextDescription
Auto Trait Implementations§
impl Freeze for ExecutionContextDescription
impl RefUnwindSafe for ExecutionContextDescription
impl Send for ExecutionContextDescription
impl Sync for ExecutionContextDescription
impl Unpin for ExecutionContextDescription
impl UnwindSafe for ExecutionContextDescription
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more