pub struct GroupSubject {
pub name: String,
}
Expand description
GroupSubject holds detailed information for group-kind subject.
Fields§
§name: String
name is the user group that matches, or “*” to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.
Trait Implementations§
Source§impl Clone for GroupSubject
impl Clone for GroupSubject
Source§fn clone(&self) -> GroupSubject
fn clone(&self) -> GroupSubject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupSubject
impl Debug for GroupSubject
Source§impl DeepMerge for GroupSubject
impl DeepMerge for GroupSubject
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for GroupSubject
impl Default for GroupSubject
Source§fn default() -> GroupSubject
fn default() -> GroupSubject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupSubject
impl<'de> Deserialize<'de> for GroupSubject
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GroupSubject
impl PartialEq for GroupSubject
Source§impl Serialize for GroupSubject
impl Serialize for GroupSubject
impl StructuralPartialEq for GroupSubject
Auto Trait Implementations§
impl Freeze for GroupSubject
impl RefUnwindSafe for GroupSubject
impl Send for GroupSubject
impl Sync for GroupSubject
impl Unpin for GroupSubject
impl UnwindSafe for GroupSubject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more