Struct k8s_openapi_ext::corev1::SecretReference
source · 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 copy 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<SecretReference> for SecretReference
impl PartialEq<SecretReference> for SecretReference
source§fn eq(&self, other: &SecretReference) -> bool
fn eq(&self, other: &SecretReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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