pub enum CloudSecretSource {
Env {
var: String,
},
Store {
reference: String,
},
}Expand description
Host-side source for a cloud secret. Twin of SecretSource.
Variants§
Env
Read from a host environment variable at apply time.
Store
Read from a host-side secret store reference.
Trait Implementations§
Source§impl Clone for CloudSecretSource
impl Clone for CloudSecretSource
Source§fn clone(&self) -> CloudSecretSource
fn clone(&self) -> CloudSecretSource
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 CloudSecretSource
impl Debug for CloudSecretSource
Source§impl<'de> Deserialize<'de> for CloudSecretSource
impl<'de> Deserialize<'de> for CloudSecretSource
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
Source§impl From<CloudSecretSource> for SecretSource
impl From<CloudSecretSource> for SecretSource
Source§fn from(source: CloudSecretSource) -> Self
fn from(source: CloudSecretSource) -> Self
Converts to this type from the input type.
Source§impl From<SecretSource> for CloudSecretSource
impl From<SecretSource> for CloudSecretSource
Source§fn from(source: SecretSource) -> Self
fn from(source: SecretSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CloudSecretSource
impl RefUnwindSafe for CloudSecretSource
impl Send for CloudSecretSource
impl Sync for CloudSecretSource
impl Unpin for CloudSecretSource
impl UnsafeUnpin for CloudSecretSource
impl UnwindSafe for CloudSecretSource
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