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 for AggregationRule
impl PartialEq for AggregationRule
Source§impl Serialize for AggregationRule
impl Serialize for AggregationRule
impl StructuralPartialEq for AggregationRule
Auto Trait Implementations§
impl Freeze for AggregationRule
impl RefUnwindSafe for AggregationRule
impl Send for AggregationRule
impl Sync for AggregationRule
impl Unpin for AggregationRule
impl UnwindSafe for AggregationRule
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