Struct monitor_types::EnvironmentVar
source · pub struct EnvironmentVar {
pub variable: String,
pub value: String,
}
Fields§
§variable: String
§value: String
Trait Implementations§
source§impl Clone for EnvironmentVar
impl Clone for EnvironmentVar
source§fn clone(&self) -> EnvironmentVar
fn clone(&self) -> EnvironmentVar
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 EnvironmentVar
impl Debug for EnvironmentVar
source§impl Default for EnvironmentVar
impl Default for EnvironmentVar
source§fn default() -> EnvironmentVar
fn default() -> EnvironmentVar
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnvironmentVar
impl<'de> Deserialize<'de> for EnvironmentVar
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 Diff for EnvironmentVar
impl Diff for EnvironmentVar
§type Repr = EnvironmentVarDiff
type Repr = EnvironmentVarDiff
The type associated with the structs’ difference
source§fn diff_custom<D>(&self, other: &Self, visitor: &D) -> <D as Differ<Self>>::Reprwhere
D: Differ<Self>,
fn diff_custom<D>(&self, other: &Self, visitor: &D) -> <D as Differ<Self>>::Reprwhere D: Differ<Self>,
Produces a diff between two structs, using an external diffing implementation
source§fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D)where
D: Differ<Self>,
fn apply_custom<D>(&mut self, diff: &<D as Differ<Self>>::Repr, visitor: &D)where D: Differ<Self>,
Applies the diff directly to the struct, using an external diffing implementation
source§impl PartialEq<EnvironmentVar> for EnvironmentVar
impl PartialEq<EnvironmentVar> for EnvironmentVar
source§fn eq(&self, other: &EnvironmentVar) -> bool
fn eq(&self, other: &EnvironmentVar) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.