[][src]Struct openshift_openapi::api::oauth::v1::ClusterRoleScopeRestriction

pub struct ClusterRoleScopeRestriction {
    pub allow_escalation: bool,
    pub namespaces: Vec<String>,
    pub role_names: Vec<String>,
}

ClusterRoleScopeRestriction describes restrictions on cluster role scopes

Fields

allow_escalation: bool

AllowEscalation indicates whether you can request roles and their escalating resources

namespaces: Vec<String>

Namespaces is the list of namespaces that can be referenced. * means any of them (including *)

role_names: Vec<String>

RoleNames is the list of cluster roles that can referenced. * means anything

Trait Implementations

impl Clone for ClusterRoleScopeRestriction[src]

impl Debug for ClusterRoleScopeRestriction[src]

impl Default for ClusterRoleScopeRestriction[src]

impl<'de> Deserialize<'de> for ClusterRoleScopeRestriction[src]

impl PartialEq<ClusterRoleScopeRestriction> for ClusterRoleScopeRestriction[src]

impl Serialize for ClusterRoleScopeRestriction[src]

impl StructuralPartialEq for ClusterRoleScopeRestriction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.