Struct k8s_openapi_ext::rbacv1::AggregationRule
source · [−]pub struct AggregationRule {
pub cluster_role_selectors: Option<Vec<LabelSelector, Global>>,
}
Expand description
AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
Fields
cluster_role_selectors: Option<Vec<LabelSelector, Global>>
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
sourceimpl Clone for AggregationRule
impl Clone for AggregationRule
sourcefn clone(&self) -> AggregationRule
fn clone(&self) -> AggregationRule
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AggregationRule
impl Debug for AggregationRule
sourceimpl DeepMerge for AggregationRule
impl DeepMerge for AggregationRule
sourcefn merge_from(&mut self, other: AggregationRule)
fn merge_from(&mut self, other: AggregationRule)
Merge
other
into self
.sourceimpl Default for AggregationRule
impl Default for AggregationRule
sourcefn default() -> AggregationRule
fn default() -> AggregationRule
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AggregationRule
impl<'de> Deserialize<'de> for AggregationRule
sourcefn deserialize<D>(
deserializer: D
) -> Result<AggregationRule, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<AggregationRule, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AggregationRule> for AggregationRule
impl PartialEq<AggregationRule> for AggregationRule
sourcefn eq(&self, other: &AggregationRule) -> bool
fn eq(&self, other: &AggregationRule) -> bool
sourceimpl Serialize for AggregationRule
impl Serialize for AggregationRule
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AggregationRule
Auto Trait Implementations
impl RefUnwindSafe for AggregationRule
impl Send for AggregationRule
impl Sync for AggregationRule
impl Unpin for AggregationRule
impl UnwindSafe for AggregationRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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