pub struct SetVariableValueParams {
pub scopeNumber: i64,
pub variableName: String,
pub newValue: CallArgument,
pub callFrameId: CallFrameId,
}Expand description
Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.
Fields§
§scopeNumber: i640-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.
variableName: StringVariable name.
newValue: CallArgumentNew variable value.
callFrameId: CallFrameIdId of callframe that holds variable.
Trait Implementations§
Source§impl Clone for SetVariableValueParams
impl Clone for SetVariableValueParams
Source§fn clone(&self) -> SetVariableValueParams
fn clone(&self) -> SetVariableValueParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetVariableValueParams
impl Debug for SetVariableValueParams
Source§impl Default for SetVariableValueParams
impl Default for SetVariableValueParams
Source§fn default() -> SetVariableValueParams
fn default() -> SetVariableValueParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetVariableValueParams
impl<'de> Deserialize<'de> for SetVariableValueParams
Source§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
Auto Trait Implementations§
impl Freeze for SetVariableValueParams
impl RefUnwindSafe for SetVariableValueParams
impl Send for SetVariableValueParams
impl Sync for SetVariableValueParams
impl Unpin for SetVariableValueParams
impl UnsafeUnpin for SetVariableValueParams
impl UnwindSafe for SetVariableValueParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more