pub struct SetVariableRequestArguments {
pub variables_reference: i32,
pub name: String,
pub value: String,
pub format: Option<ValueFormat>,
/* private fields */
}
Fields§
§variables_reference: i32
The reference of the variable container.
name: String
The name of the variable in the container.
value: String
The value of the variable.
format: Option<ValueFormat>
Specifies details on how to format the response value.
Implementations§
Source§impl SetVariableRequestArguments
impl SetVariableRequestArguments
Sourcepub fn builder() -> SetVariableRequestArgumentsBuilder<((), (), (), ())>
pub fn builder() -> SetVariableRequestArgumentsBuilder<((), (), (), ())>
Create a builder for building SetVariableRequestArguments
.
On the builder, call .variables_reference(...)
, .name(...)
, .value(...)
, .format(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of SetVariableRequestArguments
.
Trait Implementations§
Source§impl Clone for SetVariableRequestArguments
impl Clone for SetVariableRequestArguments
Source§fn clone(&self) -> SetVariableRequestArguments
fn clone(&self) -> SetVariableRequestArguments
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SetVariableRequestArguments
impl Debug for SetVariableRequestArguments
Source§impl<'de> Deserialize<'de> for SetVariableRequestArguments
impl<'de> Deserialize<'de> for SetVariableRequestArguments
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<SetVariableRequestArguments> for ProtocolMessageContent
impl From<SetVariableRequestArguments> for ProtocolMessageContent
Source§fn from(args: SetVariableRequestArguments) -> Self
fn from(args: SetVariableRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<SetVariableRequestArguments> for Request
impl From<SetVariableRequestArguments> for Request
Source§fn from(args: SetVariableRequestArguments) -> Self
fn from(args: SetVariableRequestArguments) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetVariableRequestArguments
impl PartialEq for SetVariableRequestArguments
Source§fn eq(&self, other: &SetVariableRequestArguments) -> bool
fn eq(&self, other: &SetVariableRequestArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SetVariableRequestArguments
impl StructuralPartialEq for SetVariableRequestArguments
Auto Trait Implementations§
impl Freeze for SetVariableRequestArguments
impl RefUnwindSafe for SetVariableRequestArguments
impl Send for SetVariableRequestArguments
impl Sync for SetVariableRequestArguments
impl Unpin for SetVariableRequestArguments
impl UnwindSafe for SetVariableRequestArguments
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
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
Compare self to
key
and return true
if they are equal.