#[non_exhaustive]pub struct SecretRef {
pub secret: String,
pub version: String,
/* private fields */
}Available on crate feature
reasoning-engine-service only.Expand description
Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
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: StringRequired. The name of the secret in Cloud Secret Manager. Format: {secret_name}.
version: StringThe Cloud Secret Manager secret version. Can be ‘latest’ for the latest version, an integer for a specific version, or a version alias.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SecretRef
Auto Trait Implementations§
impl Freeze for SecretRef
impl RefUnwindSafe for SecretRef
impl Send for SecretRef
impl Sync for SecretRef
impl Unpin for SecretRef
impl UnwindSafe for SecretRef
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