pub struct SecretReference {
pub name: Option<String>,
pub namespace: Option<String>,
}Expand description
SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
Fields§
§name: Option<String>name is unique within a namespace to reference a secret resource.
namespace: Option<String>namespace defines the space within which the secret name must be unique.
Trait Implementations§
Source§impl Clone for SecretReference
impl Clone for SecretReference
Source§fn clone(&self) -> SecretReference
fn clone(&self) -> SecretReference
Returns a duplicate of the value. Read more
1.0.0 · 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 SecretReference
impl Debug for SecretReference
Source§impl DeepMerge for SecretReference
impl DeepMerge for SecretReference
Source§fn merge_from(&mut self, other: SecretReference)
fn merge_from(&mut self, other: SecretReference)
Merge
other into self.Source§impl Default for SecretReference
impl Default for SecretReference
Source§fn default() -> SecretReference
fn default() -> SecretReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretReference
impl<'de> Deserialize<'de> for SecretReference
Source§fn deserialize<D>(
deserializer: D,
) -> Result<SecretReference, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SecretReference, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SecretReference
impl PartialEq for SecretReference
Source§impl Serialize for SecretReference
impl Serialize for SecretReference
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SecretReference
Auto Trait Implementations§
impl Freeze for SecretReference
impl RefUnwindSafe for SecretReference
impl Send for SecretReference
impl Sync for SecretReference
impl Unpin for SecretReference
impl UnwindSafe for SecretReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more