Struct k8s_openapi::api::flowcontrol::v1::UserSubject
source · pub struct UserSubject {
pub name: String,
}
Expand description
UserSubject holds detailed information for user-kind subject.
Fields§
§name: String
name
is the username that matches, or “*” to match all usernames. Required.
Trait Implementations§
source§impl Clone for UserSubject
impl Clone for UserSubject
source§fn clone(&self) -> UserSubject
fn clone(&self) -> UserSubject
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 UserSubject
impl Debug for UserSubject
source§impl DeepMerge for UserSubject
impl DeepMerge for UserSubject
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for UserSubject
impl Default for UserSubject
source§fn default() -> UserSubject
fn default() -> UserSubject
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserSubject
impl<'de> Deserialize<'de> for UserSubject
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 UserSubject
impl PartialEq for UserSubject
source§fn eq(&self, other: &UserSubject) -> bool
fn eq(&self, other: &UserSubject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserSubject
impl Serialize for UserSubject
impl StructuralPartialEq for UserSubject
Auto Trait Implementations§
impl Freeze for UserSubject
impl RefUnwindSafe for UserSubject
impl Send for UserSubject
impl Sync for UserSubject
impl Unpin for UserSubject
impl UnwindSafe for UserSubject
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