pub struct VariableValue {
    pub is_read_only: Option<bool>,
    pub is_secret: Option<bool>,
    pub value: Option<String>,
}Expand description
A wrapper class for a generic variable.
Fields§
§is_read_only: Option<bool>Indicates whether the variable can be changed during script’s execution runtime.
is_secret: Option<bool>Indicates whether the variable should be encrypted at rest.
value: Option<String>The value of the variable.
Implementations§
source§impl VariableValue
 
impl VariableValue
Trait Implementations§
source§impl Clone for VariableValue
 
impl Clone for VariableValue
source§fn clone(&self) -> VariableValue
 
fn clone(&self) -> VariableValue
Returns a copy 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 VariableValue
 
impl Debug for VariableValue
source§impl Default for VariableValue
 
impl Default for VariableValue
source§fn default() -> VariableValue
 
fn default() -> VariableValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VariableValue
 
impl<'de> Deserialize<'de> for VariableValue
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 VariableValue
 
impl PartialEq for VariableValue
source§fn eq(&self, other: &VariableValue) -> bool
 
fn eq(&self, other: &VariableValue) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for VariableValue
 
impl Serialize for VariableValue
impl StructuralPartialEq for VariableValue
Auto Trait Implementations§
impl RefUnwindSafe for VariableValue
impl Send for VariableValue
impl Sync for VariableValue
impl Unpin for VariableValue
impl UnwindSafe for VariableValue
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