pub struct QuerySecretOpts<'a> {
pub cache_key: Option<&'a str>,
}
Fields§
§cache_key: Option<&'a str>
If set, the given string will be used as the cache key for this secret. This means that any secrets with the same cache key will be considered equivalent in terms of cache lookups, even if they have different URIs or plaintext values. For example, two secrets with the same cache key provided as secret env vars to other wise equivalent containers will result in the container withExecs hitting the cache for each other. If not set, the cache key for the secret will be derived from its plaintext value as looked up when the secret is constructed.
Trait Implementations§
Source§impl<'a> Debug for QuerySecretOpts<'a>
impl<'a> Debug for QuerySecretOpts<'a>
Source§impl<'a> PartialEq for QuerySecretOpts<'a>
impl<'a> PartialEq for QuerySecretOpts<'a>
impl<'a> StructuralPartialEq for QuerySecretOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuerySecretOpts<'a>
impl<'a> RefUnwindSafe for QuerySecretOpts<'a>
impl<'a> Send for QuerySecretOpts<'a>
impl<'a> Sync for QuerySecretOpts<'a>
impl<'a> Unpin for QuerySecretOpts<'a>
impl<'a> UnwindSafe for QuerySecretOpts<'a>
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