pub struct VariableModeValue {
pub variable_id: String,
pub mode_id: String,
pub value: Box<VariableValue>,
}
Expand description
VariableModeValue : An object that represents a value for a given mode of a variable. All properties are required.
Fields§
§variable_id: String
The target variable. You can use the temporary id of a variable.
mode_id: String
Must correspond to a mode in the variable collection that contains the target variable.
value: Box<VariableValue>
Implementations§
Source§impl VariableModeValue
impl VariableModeValue
Sourcepub fn new(
variable_id: String,
mode_id: String,
value: VariableValue,
) -> VariableModeValue
pub fn new( variable_id: String, mode_id: String, value: VariableValue, ) -> VariableModeValue
An object that represents a value for a given mode of a variable. All properties are required.
Trait Implementations§
Source§impl Clone for VariableModeValue
impl Clone for VariableModeValue
Source§fn clone(&self) -> VariableModeValue
fn clone(&self) -> VariableModeValue
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 VariableModeValue
impl Debug for VariableModeValue
Source§impl Default for VariableModeValue
impl Default for VariableModeValue
Source§fn default() -> VariableModeValue
fn default() -> VariableModeValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VariableModeValue
impl<'de> Deserialize<'de> for VariableModeValue
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 VariableModeValue
impl PartialEq for VariableModeValue
Source§impl Serialize for VariableModeValue
impl Serialize for VariableModeValue
impl StructuralPartialEq for VariableModeValue
Auto Trait Implementations§
impl Freeze for VariableModeValue
impl RefUnwindSafe for VariableModeValue
impl Send for VariableModeValue
impl Sync for VariableModeValue
impl Unpin for VariableModeValue
impl UnwindSafe for VariableModeValue
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