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§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