Struct k8s_openapi_ext::rbacv1::RoleRef
source · [−]Expand description
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
sourceimpl DeepMerge for RoleRef
impl DeepMerge for RoleRef
sourcefn merge_from(&mut self, other: RoleRef)
fn merge_from(&mut self, other: RoleRef)
Merge
other
into self
.sourceimpl<'de> Deserialize<'de> for RoleRef
impl<'de> Deserialize<'de> for RoleRef
sourcefn deserialize<D>(
deserializer: D
) -> Result<RoleRef, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<RoleRef, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl RoleRefExt for RoleRef
impl RoleRefExt for RoleRef
fn new<T: Metadata<Ty = ObjectMeta>>(k: &T) -> Self
sourceimpl Serialize for RoleRef
impl Serialize for RoleRef
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RoleRef
Auto Trait Implementations
impl RefUnwindSafe for RoleRef
impl Send for RoleRef
impl Sync for RoleRef
impl Unpin for RoleRef
impl UnwindSafe for RoleRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more