pub struct EnvKeyChange {
pub key: String,
pub from: Option<String>,
pub to: String,
pub secret: bool,
}Expand description
One env key whose value would change when the current global config is re-rendered into an installed service.
Fields§
§key: String§from: Option<String>On-disk value, or None when the key isn’t present yet (the registry
or global config newly produces it).
to: String§secret: boolTrue when the key name looks sensitive (password / secret / token), so the CLI masks the value when printing the diff. Display-only.
Trait Implementations§
Source§impl Clone for EnvKeyChange
impl Clone for EnvKeyChange
Source§fn clone(&self) -> EnvKeyChange
fn clone(&self) -> EnvKeyChange
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 EnvKeyChange
impl Debug for EnvKeyChange
impl Eq for EnvKeyChange
Source§impl PartialEq for EnvKeyChange
impl PartialEq for EnvKeyChange
Source§fn eq(&self, other: &EnvKeyChange) -> bool
fn eq(&self, other: &EnvKeyChange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnvKeyChange
Auto Trait Implementations§
impl Freeze for EnvKeyChange
impl RefUnwindSafe for EnvKeyChange
impl Send for EnvKeyChange
impl Sync for EnvKeyChange
impl Unpin for EnvKeyChange
impl UnsafeUnpin for EnvKeyChange
impl UnwindSafe for EnvKeyChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.