Struct chromiumoxide_cdp::cdp::js_protocol::runtime::CompileScriptParams [−][src]
pub struct CompileScriptParams { pub expression: String, pub source_url: String, pub persist_script: bool, pub execution_context_id: Option<ExecutionContextId>, }
Expand description
Compiles expression. compileScript
Fields
expression: String
Expression to compile.
source_url: String
Source url to be set for the script.
persist_script: bool
Specifies whether the compiled script should be persisted.
execution_context_id: Option<ExecutionContextId>
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
Implementations
Trait Implementations
type Response = CompileScriptReturns
type Response = CompileScriptReturns
The type of the response this request triggers on the chromium server
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CompileScriptParams
impl Send for CompileScriptParams
impl Sync for CompileScriptParams
impl Unpin for CompileScriptParams
impl UnwindSafe for CompileScriptParams
Blanket Implementations
Mutably borrows from an owned value. Read more