Struct k8_types::KeySelector
source · pub struct KeySelector {
pub key: String,
pub name: String,
pub optional: bool,
}Fields§
§key: String§name: String§optional: boolTrait Implementations§
source§impl Clone for KeySelector
impl Clone for KeySelector
source§fn clone(&self) -> KeySelector
fn clone(&self) -> KeySelector
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for KeySelector
impl Debug for KeySelector
source§impl Default for KeySelector
impl Default for KeySelector
source§fn default() -> KeySelector
fn default() -> KeySelector
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for KeySelector
impl<'de> Deserialize<'de> for KeySelector
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<KeySelector> for KeySelector
impl PartialEq<KeySelector> for KeySelector
source§fn eq(&self, other: &KeySelector) -> bool
fn eq(&self, other: &KeySelector) -> bool
This method tests for
self and other values to be equal, and is used
by ==.