pub struct UserMetadata {
pub email_address: Option<String>,
pub given_name: Option<String>,
pub id: Option<String>,
pub surname: Option<String>,
pub username: Option<String>,
}
Expand description
Describes the metadata of the user.
Fields§
§email_address: Option<String>
The email address of the user.
given_name: Option<String>
The given name of the user before a rename operation.
id: Option<String>
The ID of the user.
surname: Option<String>
The surname of the user.
username: Option<String>
The name of the user.
Trait Implementations§
Source§impl Clone for UserMetadata
impl Clone for UserMetadata
Source§fn clone(&self) -> UserMetadata
fn clone(&self) -> UserMetadata
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 UserMetadata
impl Debug for UserMetadata
Source§impl Default for UserMetadata
impl Default for UserMetadata
Source§fn default() -> UserMetadata
fn default() -> UserMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserMetadata
impl<'de> Deserialize<'de> for UserMetadata
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 UserMetadata
impl PartialEq for UserMetadata
impl StructuralPartialEq for UserMetadata
Auto Trait Implementations§
impl Freeze for UserMetadata
impl RefUnwindSafe for UserMetadata
impl Send for UserMetadata
impl Sync for UserMetadata
impl Unpin for UserMetadata
impl UnwindSafe for UserMetadata
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