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

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

RoleRef contains information that points to the role being used


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.