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 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
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
)