pub struct EnvChange {
pub name: String,
pub old: Option<String>,
pub new: Option<String>,
}Expand description
One environment variable that was added, removed, or changed.
The values are kept so --verbose can show them; without it, output shows only
the name, because values can be secrets.
Fields§
§name: StringThe variable’s name.
old: Option<String>The old value, or None when the variable was added.
new: Option<String>The new value, or None when the variable was removed.
Trait Implementations§
impl Eq for EnvChange
impl StructuralPartialEq for EnvChange
Auto Trait Implementations§
impl Freeze for EnvChange
impl RefUnwindSafe for EnvChange
impl Send for EnvChange
impl Sync for EnvChange
impl Unpin for EnvChange
impl UnsafeUnpin for EnvChange
impl UnwindSafe for EnvChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.