Struct k8s_openapi::api::rbac::v1::AggregationRule
source · pub struct AggregationRule {
pub cluster_role_selectors: Option<Vec<LabelSelector>>,
}
Expand description
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
Fields§
§cluster_role_selectors: Option<Vec<LabelSelector>>
ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole’s permissions will be added
Trait Implementations§
source§impl Clone for AggregationRule
impl Clone for AggregationRule
source§fn clone(&self) -> AggregationRule
fn clone(&self) -> AggregationRule
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 AggregationRule
impl Debug for AggregationRule
source§impl DeepMerge for AggregationRule
impl DeepMerge for AggregationRule
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for AggregationRule
impl Default for AggregationRule
source§fn default() -> AggregationRule
fn default() -> AggregationRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AggregationRule
impl<'de> Deserialize<'de> for AggregationRule
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<AggregationRule> for AggregationRule
impl PartialEq<AggregationRule> for AggregationRule
source§fn eq(&self, other: &AggregationRule) -> bool
fn eq(&self, other: &AggregationRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.