Struct k8_types::KeySelector
source · pub struct KeySelector {
pub key: String,
pub name: String,
pub optional: bool,
}
Fields§
§key: String
§name: String
§optional: bool
Trait 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 ==
.source§impl Serialize for KeySelector
impl Serialize for KeySelector
impl Eq for KeySelector
impl StructuralEq for KeySelector
impl StructuralPartialEq for KeySelector
Auto Trait Implementations§
impl RefUnwindSafe for KeySelector
impl Send for KeySelector
impl Sync for KeySelector
impl Unpin for KeySelector
impl UnwindSafe for KeySelector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more