pub struct EnvVarInfo {
pub name: String,
pub value: Option<String>,
pub is_set: bool,
}Expand description
Environment variable relevant to network errors.
Fields§
§name: StringVariable name
value: Option<String>Variable value (redacted if sensitive)
is_set: boolWhether value is set
Trait Implementations§
Source§impl Clone for EnvVarInfo
impl Clone for EnvVarInfo
Source§fn clone(&self) -> EnvVarInfo
fn clone(&self) -> EnvVarInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnvVarInfo
impl Debug for EnvVarInfo
Source§impl<'de> Deserialize<'de> for EnvVarInfo
impl<'de> Deserialize<'de> for EnvVarInfo
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 EnvVarInfo
impl RefUnwindSafe for EnvVarInfo
impl Send for EnvVarInfo
impl Sync for EnvVarInfo
impl Unpin for EnvVarInfo
impl UnsafeUnpin for EnvVarInfo
impl UnwindSafe for EnvVarInfo
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