pub struct SetVariableAction {
pub type: Type,
pub variable_id: Option<String>,
pub variable_value: Option<Box<VariableData>>,
}
Expand description
SetVariableAction : Sets a variable to a specific value.
Fields§
§type: Type
§variable_id: Option<String>
§variable_value: Option<Box<VariableData>>
Implementations§
Trait Implementations§
Source§impl Clone for SetVariableAction
impl Clone for SetVariableAction
Source§fn clone(&self) -> SetVariableAction
fn clone(&self) -> SetVariableAction
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 SetVariableAction
impl Debug for SetVariableAction
Source§impl Default for SetVariableAction
impl Default for SetVariableAction
Source§fn default() -> SetVariableAction
fn default() -> SetVariableAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetVariableAction
impl<'de> Deserialize<'de> for SetVariableAction
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 PartialEq for SetVariableAction
impl PartialEq for SetVariableAction
Source§impl Serialize for SetVariableAction
impl Serialize for SetVariableAction
impl StructuralPartialEq for SetVariableAction
Auto Trait Implementations§
impl Freeze for SetVariableAction
impl RefUnwindSafe for SetVariableAction
impl Send for SetVariableAction
impl Sync for SetVariableAction
impl Unpin for SetVariableAction
impl UnwindSafe for SetVariableAction
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