pub enum VariableType {
EnvVar,
File,
}
Expand description
The type of a variable.
Variants§
Implementations§
Source§impl VariableType
impl VariableType
pub fn is_default(&self) -> bool
Trait Implementations§
Source§impl Clone for VariableType
impl Clone for VariableType
Source§fn clone(&self) -> VariableType
fn clone(&self) -> VariableType
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 VariableType
impl Debug for VariableType
Source§impl Default for VariableType
impl Default for VariableType
Source§fn default() -> VariableType
fn default() -> VariableType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VariableType
impl<'de> Deserialize<'de> for VariableType
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 Ord for VariableType
impl Ord for VariableType
Source§fn cmp(&self, other: &VariableType) -> Ordering
fn cmp(&self, other: &VariableType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VariableType
impl PartialEq for VariableType
Source§impl PartialOrd for VariableType
impl PartialOrd for VariableType
Source§impl Serialize for VariableType
impl Serialize for VariableType
impl Copy for VariableType
impl Eq for VariableType
impl StructuralPartialEq for VariableType
Auto Trait Implementations§
impl Freeze for VariableType
impl RefUnwindSafe for VariableType
impl Send for VariableType
impl Sync for VariableType
impl Unpin for VariableType
impl UnwindSafe for VariableType
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