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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The type of the response this request triggers on the chromium server

deserialize the response from json

Formats the value using the given formatter. Read more

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

Tuple of (domain_name, method_name) : (DOM, removeNode)

The identifier for this event’s method field

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.