Struct k8s_openapi::api::core::v1::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: Self)
fn merge_from(&mut self, other: Self)
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<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::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 ==
.