pub struct HdfsClusterDataNodesConfigResourcesStorageSelectors {
pub match_expressions: Option<Vec<HdfsClusterDataNodesConfigResourcesStorageSelectorsMatchExpressions>>,
pub match_labels: Option<BTreeMap<String, String>>,
}Expand description
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
Fields§
§match_expressions: Option<Vec<HdfsClusterDataNodesConfigResourcesStorageSelectorsMatchExpressions>>matchExpressions is a list of label selector requirements. The requirements are ANDed.
match_labels: Option<BTreeMap<String, String>>matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl<'de> Deserialize<'de> for HdfsClusterDataNodesConfigResourcesStorageSelectors
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
impl StructuralPartialEq for HdfsClusterDataNodesConfigResourcesStorageSelectors
Auto Trait Implementations§
impl Freeze for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl RefUnwindSafe for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl Send for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl Sync for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl Unpin for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl UnsafeUnpin for HdfsClusterDataNodesConfigResourcesStorageSelectors
impl UnwindSafe for HdfsClusterDataNodesConfigResourcesStorageSelectors
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