pub struct SecretVaultKey {
pub secret_name: SecretName,
pub secret_version: Option<SecretVersion>,
pub namespace: Option<SecretNamespace>,
}Fields§
§secret_name: SecretName§secret_version: Option<SecretVersion>§namespace: Option<SecretNamespace>Implementations§
Source§impl SecretVaultKey
impl SecretVaultKey
pub fn new(secret_name: SecretName) -> Self
pub fn secret_name(&mut self, value: SecretName) -> &mut Self
pub fn with_secret_name(self, value: SecretName) -> Self
pub fn secret_version(&mut self, value: SecretVersion) -> &mut Self
pub fn reset_secret_version(&mut self) -> &mut Self
pub fn mopt_secret_version(&mut self, value: Option<SecretVersion>) -> &mut Self
pub fn with_secret_version(self, value: SecretVersion) -> Self
pub fn without_secret_version(self) -> Self
pub fn opt_secret_version(self, value: Option<SecretVersion>) -> Self
pub fn namespace(&mut self, value: SecretNamespace) -> &mut Self
pub fn reset_namespace(&mut self) -> &mut Self
pub fn mopt_namespace(&mut self, value: Option<SecretNamespace>) -> &mut Self
pub fn with_namespace(self, value: SecretNamespace) -> Self
pub fn without_namespace(self) -> Self
pub fn opt_namespace(self, value: Option<SecretNamespace>) -> Self
Trait Implementations§
Source§impl Clone for SecretVaultKey
impl Clone for SecretVaultKey
Source§fn clone(&self) -> SecretVaultKey
fn clone(&self) -> SecretVaultKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecretVaultKey
impl Debug for SecretVaultKey
impl Eq for SecretVaultKey
Source§impl From<SecretVaultKeyInit> for SecretVaultKey
impl From<SecretVaultKeyInit> for SecretVaultKey
Source§fn from(value: SecretVaultKeyInit) -> Self
fn from(value: SecretVaultKeyInit) -> Self
Converts to this type from the input type.
Source§impl Hash for SecretVaultKey
impl Hash for SecretVaultKey
Source§impl PartialEq for SecretVaultKey
impl PartialEq for SecretVaultKey
impl StructuralPartialEq for SecretVaultKey
Auto Trait Implementations§
impl Freeze for SecretVaultKey
impl RefUnwindSafe for SecretVaultKey
impl Send for SecretVaultKey
impl Sync for SecretVaultKey
impl Unpin for SecretVaultKey
impl UnsafeUnpin for SecretVaultKey
impl UnwindSafe for SecretVaultKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.