Struct k8_types::LabelSelector
source · pub struct LabelSelector {
pub match_labels: HashMap<String, String>,
}
Fields§
§match_labels: HashMap<String, String>
Implementations§
source§impl LabelSelector
impl LabelSelector
Trait Implementations§
source§impl Clone for LabelSelector
impl Clone for LabelSelector
source§fn clone(&self) -> LabelSelector
fn clone(&self) -> LabelSelector
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 LabelSelector
impl Debug for LabelSelector
source§impl Default for LabelSelector
impl Default for LabelSelector
source§fn default() -> LabelSelector
fn default() -> LabelSelector
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LabelSelector
impl<'de> Deserialize<'de> for LabelSelector
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<LabelSelector> for LabelSelector
impl PartialEq<LabelSelector> for LabelSelector
source§fn eq(&self, other: &LabelSelector) -> bool
fn eq(&self, other: &LabelSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LabelSelector
impl Serialize for LabelSelector
impl Eq for LabelSelector
impl StructuralEq for LabelSelector
impl StructuralPartialEq for LabelSelector
Auto Trait Implementations§
impl RefUnwindSafe for LabelSelector
impl Send for LabelSelector
impl Sync for LabelSelector
impl Unpin for LabelSelector
impl UnwindSafe for LabelSelector
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