pub struct RBACBindingConfig {
pub enable_insecure_binding_system_authenticated: Option<bool>,
pub enable_insecure_binding_system_unauthenticated: Option<bool>,
}Expand description
RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable_insecure_binding_system_authenticated: Option<bool>Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.
enable_insecure_binding_system_unauthenticated: Option<bool>Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.
Trait Implementations§
Source§impl Clone for RBACBindingConfig
impl Clone for RBACBindingConfig
Source§fn clone(&self) -> RBACBindingConfig
fn clone(&self) -> RBACBindingConfig
Returns a duplicate 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 RBACBindingConfig
impl Debug for RBACBindingConfig
Source§impl Default for RBACBindingConfig
impl Default for RBACBindingConfig
Source§fn default() -> RBACBindingConfig
fn default() -> RBACBindingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RBACBindingConfig
impl<'de> Deserialize<'de> for RBACBindingConfig
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 Serialize for RBACBindingConfig
impl Serialize for RBACBindingConfig
impl Part for RBACBindingConfig
Auto Trait Implementations§
impl Freeze for RBACBindingConfig
impl RefUnwindSafe for RBACBindingConfig
impl Send for RBACBindingConfig
impl Sync for RBACBindingConfig
impl Unpin for RBACBindingConfig
impl UnwindSafe for RBACBindingConfig
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