pub struct Variable {
pub id: Option<String>,
pub key: Option<String>,
pub value: Option<Value>,
pub dtype: Option<VarDType>,
pub name: Option<String>,
pub description: Option<Description>,
pub system: Option<bool>,
pub disabled: Option<bool>,
}Fields§
§id: Option<String>A variable ID is a unique user-defined value that identifies the variable within a collection. In traditional terms, this would be a variable name.
key: Option<String>A variable key is a human friendly value that identifies the variable within a collection. In traditional terms, this would be a variable name.
value: Option<Value>The value that a variable holds in this collection. Ultimately, the variables will be replaced by this value, when say running a set of requests from a collection
dtype: Option<VarDType>A variable may have multiple types. This field specifies the type of the variable.
name: Option<String>Variable name
description: Option<Description>§system: Option<bool>When set to true, indicates that this variable has been set by Postman
disabled: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Variable
impl<'de> Deserialize<'de> for Variable
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
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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