pub struct UserMetadata {
pub name: Option<String>,
pub full_name: Option<String>,
pub email: Option<String>,
pub email_verified: Option<bool>,
pub phone_verified: Option<bool>,
pub picture: Option<String>,
pub avatar_url: Option<String>,
pub custom: HashMap<String, Value>,
}
Fields§
§name: Option<String>
§full_name: Option<String>
§email: Option<String>
§email_verified: Option<bool>
§phone_verified: Option<bool>
§picture: Option<String>
§avatar_url: Option<String>
§custom: HashMap<String, Value>
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
Source§impl Serialize for UserMetadata
impl Serialize 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