Struct k8s_openapi::v1_8::api::core::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 ConfigMapKeySelector
fn clone(&self) -> ConfigMapKeySelector
[src]
fn clone(&self) -> ConfigMapKeySelector
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 ConfigMapKeySelector
[src]
impl Debug for ConfigMapKeySelector
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 ConfigMapKeySelector
[src]
impl Default for ConfigMapKeySelector
fn default() -> ConfigMapKeySelector
[src]
fn default() -> ConfigMapKeySelector
Returns the "default value" for a type. Read more
impl PartialEq for ConfigMapKeySelector
[src]
impl PartialEq for ConfigMapKeySelector
fn eq(&self, other: &ConfigMapKeySelector) -> bool
[src]
fn eq(&self, other: &ConfigMapKeySelector) -> bool
This 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) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for ConfigMapKeySelector
[src]
impl<'de> Deserialize<'de> for ConfigMapKeySelector
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 ConfigMapKeySelector
[src]
impl Serialize for ConfigMapKeySelector
Auto Trait Implementations
impl Send for ConfigMapKeySelector
impl Send for ConfigMapKeySelector
impl Sync for ConfigMapKeySelector
impl Sync for ConfigMapKeySelector