Struct k8s_openapi::v1_7::kubernetes::pkg::api::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 SecretKeySelectorfn clone(&self) -> SecretKeySelector[src]
fn clone(&self) -> SecretKeySelectorReturns 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 SecretKeySelectorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for SecretKeySelector[src]
impl Default for SecretKeySelectorfn default() -> SecretKeySelector[src]
fn default() -> SecretKeySelectorReturns the "default value" for a type. Read more
impl PartialEq for SecretKeySelector[src]
impl PartialEq for SecretKeySelectorfn eq(&self, other: &SecretKeySelector) -> bool[src]
fn eq(&self, other: &SecretKeySelector) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for SecretKeySelector[src]
impl<'de> Deserialize<'de> for SecretKeySelectorfn 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 SecretKeySelectorAuto Trait Implementations
impl Send for SecretKeySelector
impl Send for SecretKeySelectorimpl Sync for SecretKeySelector
impl Sync for SecretKeySelector