pub enum KeyRef {
File {
path: String,
},
Env {
var: String,
},
Vault {
path: String,
},
AwsSecret {
name: String,
},
GcpSecret {
name: String,
},
K8sSecret {
name: String,
key: String,
},
}Expand description
Secret-key external reference model.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyRef
impl<'de> Deserialize<'de> for KeyRef
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 KeyRef
impl StructuralPartialEq for KeyRef
Auto Trait Implementations§
impl Freeze for KeyRef
impl RefUnwindSafe for KeyRef
impl Send for KeyRef
impl Sync for KeyRef
impl Unpin for KeyRef
impl UnsafeUnpin for KeyRef
impl UnwindSafe for KeyRef
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