pub enum SecretType {
Env(String),
File(String),
String(String),
}Expand description
Type of Secret:
Variants§
Env(String)
environment variable name
File(String)
file path relative to the project root or an absolute path
String(String)
secret string
Auto Trait Implementations§
impl Freeze for SecretType
impl RefUnwindSafe for SecretType
impl Send for SecretType
impl Sync for SecretType
impl Unpin for SecretType
impl UnwindSafe for SecretType
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