#[non_exhaustive]pub struct ClusterUser {
pub username: String,
/* private fields */
}Expand description
A user principal for an RBAC policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.username: StringRequired. An active Google username.
Implementations§
Source§impl ClusterUser
impl ClusterUser
Trait Implementations§
Source§impl Clone for ClusterUser
impl Clone for ClusterUser
Source§fn clone(&self) -> ClusterUser
fn clone(&self) -> ClusterUser
Returns a duplicate 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 ClusterUser
impl Debug for ClusterUser
Source§impl Default for ClusterUser
impl Default for ClusterUser
Source§fn default() -> ClusterUser
fn default() -> ClusterUser
Returns the “default value” for a type. Read more
Source§impl Message for ClusterUser
impl Message for ClusterUser
Source§impl PartialEq for ClusterUser
impl PartialEq for ClusterUser
impl StructuralPartialEq for ClusterUser
Auto Trait Implementations§
impl Freeze for ClusterUser
impl RefUnwindSafe for ClusterUser
impl Send for ClusterUser
impl Sync for ClusterUser
impl Unpin for ClusterUser
impl UnwindSafe for ClusterUser
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