pub struct SetVariableValue {
pub method: SetVariableValueMethod,
pub params: SetVariableValueParams,
}Expand description
Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. setVariableValue
Fields§
§method: SetVariableValueMethod§params: SetVariableValueParamsImplementations§
Source§impl SetVariableValue
impl SetVariableValue
pub fn builder() -> SetVariableValueBuilder
Source§impl SetVariableValue
impl SetVariableValue
pub const IDENTIFIER: &'static str = "Debugger.setVariableValue"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetVariableValue
impl Clone for SetVariableValue
Source§fn clone(&self) -> SetVariableValue
fn clone(&self) -> SetVariableValue
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 CommandResult for SetVariableValue
impl CommandResult for SetVariableValue
type Result = SetVariableValueResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetVariableValue
impl Debug for SetVariableValue
Source§impl<'de> Deserialize<'de> for SetVariableValue
impl<'de> Deserialize<'de> for SetVariableValue
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
Source§impl From<SetVariableValue> for Command
impl From<SetVariableValue> for Command
Source§fn from(v: SetVariableValue) -> Self
fn from(v: SetVariableValue) -> Self
Converts to this type from the input type.
Source§impl From<SetVariableValue> for DebuggerCommands
impl From<SetVariableValue> for DebuggerCommands
Source§fn from(v: SetVariableValue) -> Self
fn from(v: SetVariableValue) -> Self
Converts to this type from the input type.
Source§impl From<SetVariableValue> for JsProtocolCommands
impl From<SetVariableValue> for JsProtocolCommands
Source§fn from(v: SetVariableValue) -> Self
fn from(v: SetVariableValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetVariableValue
impl PartialEq for SetVariableValue
Source§impl Serialize for SetVariableValue
impl Serialize for SetVariableValue
Source§impl TryFrom<Command> for SetVariableValue
impl TryFrom<Command> for SetVariableValue
Source§impl TryFrom<DebuggerCommands> for SetVariableValue
impl TryFrom<DebuggerCommands> for SetVariableValue
Source§type Error = DebuggerCommands
type Error = DebuggerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerCommands,
) -> Result<Self, <SetVariableValue as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <SetVariableValue as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for SetVariableValue
impl TryFrom<JsProtocolCommands> for SetVariableValue
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <SetVariableValue as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <SetVariableValue as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetVariableValue
Auto Trait Implementations§
impl Freeze for SetVariableValue
impl RefUnwindSafe for SetVariableValue
impl Send for SetVariableValue
impl Sync for SetVariableValue
impl Unpin for SetVariableValue
impl UnsafeUnpin for SetVariableValue
impl UnwindSafe for SetVariableValue
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