Enum astro_run::EnvironmentVariable
source · pub enum EnvironmentVariable {
String(String),
Number(f64),
Boolean(bool),
}Variants§
Trait Implementations§
source§impl Clone for EnvironmentVariable
impl Clone for EnvironmentVariable
source§fn clone(&self) -> EnvironmentVariable
fn clone(&self) -> EnvironmentVariable
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 EnvironmentVariable
impl Debug for EnvironmentVariable
source§impl<'de> Deserialize<'de> for EnvironmentVariable
impl<'de> Deserialize<'de> for EnvironmentVariable
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EnvironmentVariable, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<EnvironmentVariable, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<EnvironmentVariable> for EnvironmentVariable
impl PartialEq<EnvironmentVariable> for EnvironmentVariable
source§fn eq(&self, other: &EnvironmentVariable) -> bool
fn eq(&self, other: &EnvironmentVariable) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EnvironmentVariable
impl Serialize for EnvironmentVariable
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl ToString for EnvironmentVariable
impl ToString for EnvironmentVariable
impl StructuralPartialEq for EnvironmentVariable
Auto Trait Implementations§
impl RefUnwindSafe for EnvironmentVariable
impl Send for EnvironmentVariable
impl Sync for EnvironmentVariable
impl Unpin for EnvironmentVariable
impl UnwindSafe for EnvironmentVariable
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