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 duplicate 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 for LabelSelector
impl PartialEq for LabelSelector
Source§impl Serialize for LabelSelector
impl Serialize for LabelSelector
impl Eq for LabelSelector
impl StructuralPartialEq for LabelSelector
Auto Trait Implementations§
impl Freeze for LabelSelector
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