pub enum SecretSource {
Env {
var: String,
},
Store {
reference: String,
},
}Expand description
Host-side source for secret material.
Variants§
Env
Read the value from a host environment variable at apply time.
Store
Read the value from a host-side secret store reference.
Trait Implementations§
Source§impl Clone for SecretSource
impl Clone for SecretSource
Source§fn clone(&self) -> SecretSource
fn clone(&self) -> SecretSource
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 SecretSource
impl Debug for SecretSource
Source§impl<'de> Deserialize<'de> for SecretSource
impl<'de> Deserialize<'de> for SecretSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SecretSource
Source§impl PartialEq for SecretSource
impl PartialEq for SecretSource
Source§fn eq(&self, other: &SecretSource) -> bool
fn eq(&self, other: &SecretSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecretSource
impl Serialize for SecretSource
impl StructuralPartialEq for SecretSource
Auto Trait Implementations§
impl Freeze for SecretSource
impl RefUnwindSafe for SecretSource
impl Send for SecretSource
impl Sync for SecretSource
impl Unpin for SecretSource
impl UnsafeUnpin for SecretSource
impl UnwindSafe for SecretSource
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