Struct cdp::debugger::SetVariableValueCommand [] [src]

pub struct SetVariableValueCommand<'a> {
    pub scope_number: i32,
    pub variable_name: Cow<'a, str>,
    pub new_value: CallArgument<'a>,
    pub call_frame_id: CallFrameId<'a>,
}

Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

Command Debugger.setVariableValue

Domain Module: cdp::debugger
Command Struct: cdp::debugger::SetVariableValueCommand
Response Struct: cdp::debugger::SetVariableValueResponse

Fields

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.

New variable value.

Id of callframe that holds variable.

Trait Implementations

impl<'a> Clone for SetVariableValueCommand<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for SetVariableValueCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for SetVariableValueCommand<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> CdpCommand for SetVariableValueCommand<'a>
[src]

COMMAND_NAME: &'static str = "Debugger.setVariableValue"

impl<'a> SerializeCdpCommand for SetVariableValueCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for SetVariableValueCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for SetVariableValueCommand<'a>
[src]