pub struct UserResponse {
pub user_id: String,
pub email: Option<String>,
pub email_verified: bool,
pub name: String,
pub nickname: String,
pub picture: String,
pub identities: Vec<Identity>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
Expand description
A struct containing the response from the Auth0 users API.
Fields§
§user_id: String
§email: Option<String>
§email_verified: bool
§name: String
§nickname: String
§picture: String
§identities: Vec<Identity>
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
Trait Implementations§
Source§impl Clone for UserResponse
impl Clone for UserResponse
Source§fn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
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 UserResponse
impl Debug for UserResponse
Source§impl<'de> Deserialize<'de> for UserResponse
impl<'de> Deserialize<'de> for UserResponse
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
Auto Trait Implementations§
impl Freeze for UserResponse
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnwindSafe for UserResponse
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