Struct chromiumoxide::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,
}

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

impl SetVariableValueParams[src]

pub fn new(
    scope_number: impl Into<i64>,
    variable_name: impl Into<String>,
    new_value: impl Into<CallArgument>,
    call_frame_id: impl Into<CallFrameId>
) -> SetVariableValueParams
[src]

impl SetVariableValueParams[src]

impl SetVariableValueParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for SetVariableValueParams[src]

impl Command for SetVariableValueParams[src]

type Response = SetVariableValueReturns

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

impl Debug for SetVariableValueParams[src]

impl<'de> Deserialize<'de> for SetVariableValueParams[src]

impl Method for SetVariableValueParams[src]

impl MethodType for SetVariableValueParams[src]

impl PartialEq<SetVariableValueParams> for SetVariableValueParams[src]

impl Serialize for SetVariableValueParams[src]

impl StructuralPartialEq for SetVariableValueParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,