pub struct EnvNeed {
pub name: String,
pub secret: Option<String>,
pub reference: String,
}Expand description
An environment variable the user sets for an ejected entry.
Fields§
§name: StringThe variable name.
secret: Option<String>The catalog alias it stands for, when there is one.
reference: StringThe reference the value comes from (op://..., keyring://...,
env:NAME): two entries needing one name for different references
are a conflict.
Trait Implementations§
impl Eq for EnvNeed
impl StructuralPartialEq for EnvNeed
Auto Trait Implementations§
impl Forget for EnvNeed
impl Freeze for EnvNeed
impl Move for EnvNeed
impl RefUnwindSafe for EnvNeed
impl Send for EnvNeedwhere
RawVecInner: Send,
impl Sync for EnvNeedwhere
RawVecInner: Sync,
impl Unpin for EnvNeed
impl UnsafeUnpin for EnvNeed
impl UnwindSafe for EnvNeedwhere
RawVecInner: UnwindSafe,
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.