pub struct EnvironmentVariable {
pub name: String,
pub value: String,
}Expand description
§Environment Variable.
Fields§
§name: StringName of the environment variable.
value: StringValue of the environment variable.
Trait Implementations§
Source§impl CandidType for EnvironmentVariable
impl CandidType for EnvironmentVariable
Source§impl Clone for EnvironmentVariable
impl Clone for EnvironmentVariable
Source§fn clone(&self) -> EnvironmentVariable
fn clone(&self) -> EnvironmentVariable
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 EnvironmentVariable
impl Debug for EnvironmentVariable
Source§impl Default for EnvironmentVariable
impl Default for EnvironmentVariable
Source§fn default() -> EnvironmentVariable
fn default() -> EnvironmentVariable
Returns the “default value” for a type. Read more
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 Hash for EnvironmentVariable
impl Hash for EnvironmentVariable
Source§impl Ord for EnvironmentVariable
impl Ord for EnvironmentVariable
Source§fn cmp(&self, other: &EnvironmentVariable) -> Ordering
fn cmp(&self, other: &EnvironmentVariable) -> 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 EnvironmentVariable
impl PartialEq for EnvironmentVariable
Source§impl PartialOrd for EnvironmentVariable
impl PartialOrd for EnvironmentVariable
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
impl Eq for EnvironmentVariable
impl StructuralPartialEq for EnvironmentVariable
Auto Trait Implementations§
impl Freeze for EnvironmentVariable
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