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: 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 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 ConfigMapKeySelector
impl Send for ConfigMapKeySelector
impl Sync for ConfigMapKeySelector
impl Unpin for ConfigMapKeySelector
impl UnwindSafe for ConfigMapKeySelector
Blanket Implementations
Mutably borrows from an owned value. Read more