pub struct MaskedVar {
pub value: String,
pub secret: bool,
pub provenance: Layer,
pub shadowed: Vec<Layer>,
}Expand description
One row of EffectiveEnv::masked.
Fields§
§value: StringThe value, or "••••••" for a secret.
secret: boolWhether it is a secret.
provenance: LayerThe layer that set it.
shadowed: Vec<Layer>The other layers that set it, lowest first.
Trait Implementations§
impl Eq for MaskedVar
impl StructuralPartialEq for MaskedVar
Auto Trait Implementations§
impl Freeze for MaskedVar
impl RefUnwindSafe for MaskedVar
impl Send for MaskedVar
impl Sync for MaskedVar
impl Unpin for MaskedVar
impl UnsafeUnpin for MaskedVar
impl UnwindSafe for MaskedVar
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.