#[non_exhaustive]pub struct Secrets {
pub secret_manager: Vec<SecretManagerSecret>,
pub inline: Vec<InlineSecret>,
}Expand description
Secrets and secret environment variables.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.secret_manager: Vec<SecretManagerSecret>Secrets in Secret Manager and associated secret environment variable.
inline: Vec<InlineSecret>Secrets encrypted with KMS key and the associated secret environment variable.
Implementations§
Source§impl Secrets
impl Secrets
Sourcepub fn set_secret_manager<T, V>(self, v: T) -> Self
pub fn set_secret_manager<T, V>(self, v: T) -> Self
Sets the value of secret_manager.
Sourcepub fn set_inline<T, V>(self, v: T) -> Self
pub fn set_inline<T, V>(self, v: T) -> Self
Sets the value of inline.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Secrets
impl<'de> Deserialize<'de> for Secrets
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 StructuralPartialEq for Secrets
Auto Trait Implementations§
impl Freeze for Secrets
impl RefUnwindSafe for Secrets
impl Send for Secrets
impl Sync for Secrets
impl Unpin for Secrets
impl UnwindSafe for Secrets
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