Struct k8s_openapi::v1_9::api::core::v1::SecretKeySelector [−][src]
pub struct SecretKeySelector { pub key: String, pub name: Option<String>, pub optional: Option<bool>, }
SecretKeySelector selects a key of a Secret.
Fields
key: String
The key of the secret to select from. Must be a valid secret key.
name: Option<String>
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional: Option<bool>
Specify whether the Secret or it's key must be defined
Trait Implementations
impl Clone for SecretKeySelector
[src]
impl Clone for SecretKeySelector
fn clone(&self) -> SecretKeySelector
[src]
fn clone(&self) -> SecretKeySelector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SecretKeySelector
[src]
impl Debug for SecretKeySelector
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for SecretKeySelector
[src]
impl Default for SecretKeySelector
fn default() -> SecretKeySelector
[src]
fn default() -> SecretKeySelector
Returns the "default value" for a type. Read more
impl PartialEq for SecretKeySelector
[src]
impl PartialEq for SecretKeySelector
fn eq(&self, other: &SecretKeySelector) -> bool
[src]
fn eq(&self, other: &SecretKeySelector) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SecretKeySelector) -> bool
[src]
fn ne(&self, other: &SecretKeySelector) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for SecretKeySelector
[src]
impl<'de> Deserialize<'de> for SecretKeySelector
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for SecretKeySelector
[src]
impl Serialize for SecretKeySelector
Auto Trait Implementations
impl Send for SecretKeySelector
impl Send for SecretKeySelector
impl Sync for SecretKeySelector
impl Sync for SecretKeySelector