Struct k8s_openapi::api::core::v1::SecretKeySelector [−][src]
pub struct SecretKeySelector {
pub key: String,
pub name: Option<String>,
pub optional: Option<bool>,
}Expand description
SecretKeySelector selects a key of a Secret.
Fields
key: StringThe 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 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 SecretKeySelectorimpl Send for SecretKeySelectorimpl Sync for SecretKeySelectorimpl Unpin for SecretKeySelectorimpl UnwindSafe for SecretKeySelectorBlanket Implementations
Mutably borrows from an owned value. Read more