pub struct SetVariableResponseBody {
pub value: String,
pub type_: Option<String>,
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 variable.
type_: Option<String>
The type of the new value. Typically shown in the UI when hovering over the value.
variables_reference: Option<i32>
If variablesReference is > 0, the new 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 SetVariableResponseBody
impl SetVariableResponseBody
Sourcepub fn builder() -> SetVariableResponseBodyBuilder<((), (), (), (), ())>
pub fn builder() -> SetVariableResponseBodyBuilder<((), (), (), (), ())>
Create a builder for building SetVariableResponseBody
.
On the builder, call .value(...)
, .type_(...)
(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 SetVariableResponseBody
.
Trait Implementations§
Source§impl Clone for SetVariableResponseBody
impl Clone for SetVariableResponseBody
Source§fn clone(&self) -> SetVariableResponseBody
fn clone(&self) -> SetVariableResponseBody
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 SetVariableResponseBody
impl Debug for SetVariableResponseBody
Source§impl<'de> Deserialize<'de> for SetVariableResponseBody
impl<'de> Deserialize<'de> for SetVariableResponseBody
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<SetVariableResponseBody> for SuccessResponse
impl From<SetVariableResponseBody> for SuccessResponse
Source§fn from(args: SetVariableResponseBody) -> Self
fn from(args: SetVariableResponseBody) -> Self
Source§impl PartialEq for SetVariableResponseBody
impl PartialEq for SetVariableResponseBody
Source§fn eq(&self, other: &SetVariableResponseBody) -> bool
fn eq(&self, other: &SetVariableResponseBody) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for SetVariableResponseBody
impl Serialize for SetVariableResponseBody
impl Eq for SetVariableResponseBody
impl StructuralPartialEq for SetVariableResponseBody
Auto Trait Implementations§
impl Freeze for SetVariableResponseBody
impl RefUnwindSafe for SetVariableResponseBody
impl Send for SetVariableResponseBody
impl Sync for SetVariableResponseBody
impl Unpin for SetVariableResponseBody
impl UnwindSafe for SetVariableResponseBody
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.