pub struct UserWithIdentityToken {
pub identity_token: Option<UserWithIdentityTokenIdentityToken>,
pub user: User,
}Expand description
The user object along their identity token.
JSON schema
{
"title": "UserWithIdentityToken",
"description": "The user object along their identity token.",
"type": "object",
"required": [
"user"
],
"properties": {
"identity_token": {
"type": "string",
"minLength": 1
},
"user": {
"$ref": "#/components/schemas/User"
}
}
}Fields§
§identity_token: Option<UserWithIdentityTokenIdentityToken>§user: UserTrait Implementations§
Source§impl Clone for UserWithIdentityToken
impl Clone for UserWithIdentityToken
Source§fn clone(&self) -> UserWithIdentityToken
fn clone(&self) -> UserWithIdentityToken
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 UserWithIdentityToken
impl Debug for UserWithIdentityToken
Source§impl<'de> Deserialize<'de> for UserWithIdentityToken
impl<'de> Deserialize<'de> for UserWithIdentityToken
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 From<&UserWithIdentityToken> for UserWithIdentityToken
impl From<&UserWithIdentityToken> for UserWithIdentityToken
Source§fn from(value: &UserWithIdentityToken) -> Self
fn from(value: &UserWithIdentityToken) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserWithIdentityToken
impl RefUnwindSafe for UserWithIdentityToken
impl Send for UserWithIdentityToken
impl Sync for UserWithIdentityToken
impl Unpin for UserWithIdentityToken
impl UnsafeUnpin for UserWithIdentityToken
impl UnwindSafe for UserWithIdentityToken
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