Struct chromiumoxide_cdp::cdp::js_protocol::debugger::SetVariableValueParams [−][src]
pub struct SetVariableValueParams { pub scope_number: i64, pub variable_name: String, pub new_value: CallArgument, pub call_frame_id: CallFrameId, }
Expand description
Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. setVariableValue
Fields
scope_number: i64
0-based number of scope as was listed in scope chain. Only ‘local’, ‘closure’ and ‘catch’ scope types are allowed. Other scopes could be manipulated manually.
variable_name: String
Variable name.
new_value: CallArgument
New variable value.
call_frame_id: CallFrameId
Id of callframe that holds variable.
Implementations
pub fn new(
scope_number: impl Into<i64>,
variable_name: impl Into<String>,
new_value: impl Into<CallArgument>,
call_frame_id: impl Into<CallFrameId>
) -> Self
Trait Implementations
type Response = SetVariableValueReturns
type Response = SetVariableValueReturns
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 SetVariableValueParams
impl Send for SetVariableValueParams
impl Sync for SetVariableValueParams
impl Unpin for SetVariableValueParams
impl UnwindSafe for SetVariableValueParams
Blanket Implementations
Mutably borrows from an owned value. Read more