pub enum SecretDestination {
Keyring,
Reference(SecretRef),
}Expand description
Where a sensitive literal goes (SPEC 11.7).
Variants§
Keyring
The OS keyring (keyring://surjection/<alias>), which receives the
value read from the client file.
Reference(SecretRef)
A 1Password item (op://...) or Environment variable
(op-env://...), or an environment variable (env:NAME). Nothing
is uploaded anywhere.
Implementations§
Trait Implementations§
Source§impl Clone for SecretDestination
impl Clone for SecretDestination
Source§impl Debug for SecretDestination
impl Debug for SecretDestination
impl Eq for SecretDestination
Source§impl PartialEq for SecretDestination
impl PartialEq for SecretDestination
impl StructuralPartialEq for SecretDestination
Auto Trait Implementations§
impl Forget for SecretDestination
impl Freeze for SecretDestination
impl Move for SecretDestination
impl RefUnwindSafe for SecretDestination
impl Send for SecretDestinationwhere
RawVecInner: Send,
impl Sync for SecretDestinationwhere
RawVecInner: Sync,
impl Unpin for SecretDestination
impl UnsafeUnpin for SecretDestination
impl UnwindSafe for SecretDestinationwhere
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.