pub struct GlobalVariable {
pub enabled: Option<bool>,
pub key: Option<String>,
pub global_variable_type: Option<GlobalVariableType>,
pub value: Option<String>,
}
Fields§
§enabled: Option<bool>
If true, the variable is enabled.
key: Option<String>
The variable’s name.
global_variable_type: Option<GlobalVariableType>
The type of variable.
value: Option<String>
The variable’s value.
Trait Implementations§
Source§impl Clone for GlobalVariable
impl Clone for GlobalVariable
Source§fn clone(&self) -> GlobalVariable
fn clone(&self) -> GlobalVariable
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 GlobalVariable
impl Debug for GlobalVariable
Source§impl<'de> Deserialize<'de> for GlobalVariable
impl<'de> Deserialize<'de> for GlobalVariable
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 GlobalVariable
impl PartialEq for GlobalVariable
Source§impl Serialize for GlobalVariable
impl Serialize for GlobalVariable
impl StructuralPartialEq for GlobalVariable
Auto Trait Implementations§
impl Freeze for GlobalVariable
impl RefUnwindSafe for GlobalVariable
impl Send for GlobalVariable
impl Sync for GlobalVariable
impl Unpin for GlobalVariable
impl UnwindSafe for GlobalVariable
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