Struct k8s_openapi::api::core::v1::TopologySelectorTerm
source · pub struct TopologySelectorTerm {
pub match_label_expressions: Option<Vec<TopologySelectorLabelRequirement>>,
}
Expand description
A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
Fields§
§match_label_expressions: Option<Vec<TopologySelectorLabelRequirement>>
A list of topology selector requirements by labels.
Trait Implementations§
source§impl Clone for TopologySelectorTerm
impl Clone for TopologySelectorTerm
source§fn clone(&self) -> TopologySelectorTerm
fn clone(&self) -> TopologySelectorTerm
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 TopologySelectorTerm
impl Debug for TopologySelectorTerm
source§impl DeepMerge for TopologySelectorTerm
impl DeepMerge for TopologySelectorTerm
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for TopologySelectorTerm
impl Default for TopologySelectorTerm
source§fn default() -> TopologySelectorTerm
fn default() -> TopologySelectorTerm
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TopologySelectorTerm
impl<'de> Deserialize<'de> for TopologySelectorTerm
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 TopologySelectorTerm
impl PartialEq for TopologySelectorTerm
source§impl Serialize for TopologySelectorTerm
impl Serialize for TopologySelectorTerm
impl StructuralPartialEq for TopologySelectorTerm
Auto Trait Implementations§
impl Freeze for TopologySelectorTerm
impl RefUnwindSafe for TopologySelectorTerm
impl Send for TopologySelectorTerm
impl Sync for TopologySelectorTerm
impl Unpin for TopologySelectorTerm
impl UnwindSafe for TopologySelectorTerm
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)