ReferenceSdkRustTypes
SecretReference
Rust struct goodmem::models::SecretReference: declaration, fields or variants, and implementations.
Struct SecretReference
goodmem::models::SecretReference
pub struct SecretReference {
pub uri: String,
pub hints: Option<BTreeMap<String, String>>,
}Fields
uri
pub uri: String
URI identifying where the secret can be resolved (e.g., vault://, env://)
Wire name: uri.
hints
pub hints: Option<BTreeMap<String, String>>
Optional metadata to help resolvers decode the secret (e.g., {"encoding":"base64"})
Wire name: hints.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for SecretReferenceimpl std::fmt::Debug for SecretReference