[][src]Struct k8s_openapi::api::rbac::v1alpha1::RoleRef

pub struct RoleRef {
    pub api_group: String,
    pub kind: String,
    pub name: String,
}

RoleRef contains information that points to the role being used

Fields

api_group: String

APIGroup is the group for the resource being referenced

kind: String

Kind is the type of resource being referenced

name: String

Name is the name of resource being referenced

Trait Implementations

impl Clone for RoleRef[src]

impl Debug for RoleRef[src]

impl Default for RoleRef[src]

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

impl PartialEq<RoleRef> for RoleRef[src]

impl Serialize for RoleRef[src]

impl StructuralPartialEq for RoleRef[src]

Auto Trait Implementations

impl RefUnwindSafe for RoleRef[src]

impl Send for RoleRef[src]

impl Sync for RoleRef[src]

impl Unpin for RoleRef[src]

impl UnwindSafe for RoleRef[src]

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.