[][src]Struct openshift_openapi::api::authorization::v1::ServiceAccountReference

pub struct ServiceAccountReference {
    pub name: String,
    pub namespace: String,
}

ServiceAccountReference specifies a service account and namespace by their names.

Fields

name: String

Name is the name of the service account.

namespace: String

Namespace is the namespace of the service account. Service accounts from inside the whitelisted namespaces are allowed to be bound to roles. If Namespace is empty, then the namespace of the RoleBindingRestriction in which the ServiceAccountReference is embedded is used.

Trait Implementations

impl Clone for ServiceAccountReference[src]

impl Debug for ServiceAccountReference[src]

impl Default for ServiceAccountReference[src]

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

impl PartialEq<ServiceAccountReference> for ServiceAccountReference[src]

impl Serialize for ServiceAccountReference[src]

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