Struct k8s_openapi::api::core::v1::ConfigMapKeySelector [−][src]
pub struct ConfigMapKeySelector {
pub key: String,
pub name: Option<String>,
pub optional: Option<bool>,
}Expand description
Selects a key from a ConfigMap.
Fields
key: StringThe 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 its key must be defined
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ConfigMapKeySelectorimpl Send for ConfigMapKeySelectorimpl Sync for ConfigMapKeySelectorimpl Unpin for ConfigMapKeySelectorimpl UnwindSafe for ConfigMapKeySelectorBlanket Implementations
Mutably borrows from an owned value. Read more