Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::ConfigMapKeySelector [−][src]
pub struct ConfigMapKeySelector {
pub key: String,
pub name: Option<String>,
pub optional: Option<bool>,
}Selects a key from a ConfigMap.
Fields
key: String
The key to select.
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 ConfigMap or it's key must be defined
Trait Implementations
impl Clone for ConfigMapKeySelector[src]
impl Clone for ConfigMapKeySelectorfn clone(&self) -> ConfigMapKeySelector[src]
fn clone(&self) -> ConfigMapKeySelectorReturns 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 ConfigMapKeySelector[src]
impl Debug for ConfigMapKeySelectorfn 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 ConfigMapKeySelector[src]
impl Default for ConfigMapKeySelectorfn default() -> ConfigMapKeySelector[src]
fn default() -> ConfigMapKeySelectorReturns the "default value" for a type. Read more
impl PartialEq for ConfigMapKeySelector[src]
impl PartialEq for ConfigMapKeySelectorfn eq(&self, other: &ConfigMapKeySelector) -> bool[src]
fn eq(&self, other: &ConfigMapKeySelector) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ConfigMapKeySelector) -> bool[src]
fn ne(&self, other: &ConfigMapKeySelector) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for ConfigMapKeySelector[src]
impl<'de> Deserialize<'de> for ConfigMapKeySelectorfn 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 ConfigMapKeySelector[src]
impl Serialize for ConfigMapKeySelectorAuto Trait Implementations
impl Send for ConfigMapKeySelector
impl Send for ConfigMapKeySelectorimpl Sync for ConfigMapKeySelector
impl Sync for ConfigMapKeySelector