Struct chromiumoxide_cdp::cdp::js_protocol::debugger::SetScriptSourceParams [−][src]
pub struct SetScriptSourceParams { pub script_id: ScriptId, pub script_source: String, pub dry_run: Option<bool>, }
Expand description
Edits JavaScript source live. setScriptSource
Fields
script_id: ScriptId
Id of the script to edit.
script_source: String
New content of the script.
dry_run: Option<bool>
If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.
Implementations
Trait Implementations
type Response = SetScriptSourceReturns
type Response = SetScriptSourceReturns
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 SetScriptSourceParams
impl Send for SetScriptSourceParams
impl Sync for SetScriptSourceParams
impl Unpin for SetScriptSourceParams
impl UnwindSafe for SetScriptSourceParams
Blanket Implementations
Mutably borrows from an owned value. Read more