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

pub struct ScopeRestriction {
    pub cluster_role: Option<ClusterRoleScopeRestriction>,
    pub literals: Option<Vec<String>>,
}

ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.

Fields

cluster_role: Option<ClusterRoleScopeRestriction>

ClusterRole describes a set of restrictions for cluster role scoping.

literals: Option<Vec<String>>

ExactValues means the scope has to match a particular set of strings exactly

Trait Implementations

impl Clone for ScopeRestriction[src]

impl Debug for ScopeRestriction[src]

impl Default for ScopeRestriction[src]

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

impl PartialEq<ScopeRestriction> for ScopeRestriction[src]

impl Serialize for ScopeRestriction[src]

impl StructuralPartialEq for ScopeRestriction[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.