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
sourceimpl Clone for TopologySelectorTerm
impl Clone for TopologySelectorTerm
sourcefn clone(&self) -> TopologySelectorTerm
fn clone(&self) -> TopologySelectorTerm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TopologySelectorTerm
impl Debug for TopologySelectorTerm
sourceimpl Default for TopologySelectorTerm
impl Default for TopologySelectorTerm
sourcefn default() -> TopologySelectorTerm
fn default() -> TopologySelectorTerm
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TopologySelectorTerm
impl<'de> Deserialize<'de> for TopologySelectorTerm
sourcefn 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
sourceimpl PartialEq<TopologySelectorTerm> for TopologySelectorTerm
impl PartialEq<TopologySelectorTerm> for TopologySelectorTerm
sourcefn eq(&self, other: &TopologySelectorTerm) -> bool
fn eq(&self, other: &TopologySelectorTerm) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TopologySelectorTerm) -> bool
fn ne(&self, other: &TopologySelectorTerm) -> bool
This method tests for !=
.
sourceimpl Serialize for TopologySelectorTerm
impl Serialize for TopologySelectorTerm
impl StructuralPartialEq for TopologySelectorTerm
Auto Trait Implementations
impl RefUnwindSafe for TopologySelectorTerm
impl Send for TopologySelectorTerm
impl Sync for TopologySelectorTerm
impl Unpin for TopologySelectorTerm
impl UnwindSafe for TopologySelectorTerm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more