pub struct SetExpressionResponseBody {
pub value: String,
pub type_: Option<String>,
pub presentation_hint: Option<VariablePresentationHint>,
pub variables_reference: Option<i32>,
pub named_variables: Option<i32>,
pub indexed_variables: Option<i32>,
/* private fields */
}
Fields§
§value: String
The new value of the expression.
type_: Option<String>
The optional type of the value.
This attribute should only be returned by a debug adapter if the client has passed the value true for the ‘supportsVariableType’ capability of the ‘initialize’ request.
presentation_hint: Option<VariablePresentationHint>
Properties of a value that can be used to determine how to render the result in the UI.
variables_reference: Option<i32>
If variablesReference is > 0, the value is structured and its children can be retrieved by passing variablesReference to the VariablesRequest.
The value should be less than or equal to 2147483647 (2^31-1).
named_variables: Option<i32>
The number of named child variables.
The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
The value should be less than or equal to 2147483647 (2^31-1).
indexed_variables: Option<i32>
The number of indexed child variables.
The client can use this optional information to present the variables in a paged UI and fetch them in chunks.
The value should be less than or equal to 2147483647 (2^31-1).
Implementations§
Source§impl SetExpressionResponseBody
impl SetExpressionResponseBody
Sourcepub fn builder() -> SetExpressionResponseBodyBuilder<((), (), (), (), (), ())>
pub fn builder() -> SetExpressionResponseBodyBuilder<((), (), (), (), (), ())>
Create a builder for building SetExpressionResponseBody
.
On the builder, call .value(...)
, .type_(...)
(optional), .presentation_hint(...)
(optional), .variables_reference(...)
(optional), .named_variables(...)
(optional), .indexed_variables(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of SetExpressionResponseBody
.
Trait Implementations§
Source§impl Clone for SetExpressionResponseBody
impl Clone for SetExpressionResponseBody
Source§fn clone(&self) -> SetExpressionResponseBody
fn clone(&self) -> SetExpressionResponseBody
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SetExpressionResponseBody
impl Debug for SetExpressionResponseBody
Source§impl<'de> Deserialize<'de> for SetExpressionResponseBody
impl<'de> Deserialize<'de> for SetExpressionResponseBody
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>,
Source§impl From<SetExpressionResponseBody> for SuccessResponse
impl From<SetExpressionResponseBody> for SuccessResponse
Source§fn from(args: SetExpressionResponseBody) -> Self
fn from(args: SetExpressionResponseBody) -> Self
Source§impl PartialEq for SetExpressionResponseBody
impl PartialEq for SetExpressionResponseBody
Source§fn eq(&self, other: &SetExpressionResponseBody) -> bool
fn eq(&self, other: &SetExpressionResponseBody) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for SetExpressionResponseBody
impl StructuralPartialEq for SetExpressionResponseBody
Auto Trait Implementations§
impl Freeze for SetExpressionResponseBody
impl RefUnwindSafe for SetExpressionResponseBody
impl Send for SetExpressionResponseBody
impl Sync for SetExpressionResponseBody
impl Unpin for SetExpressionResponseBody
impl UnwindSafe for SetExpressionResponseBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.