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<UserWithIdentityToken, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserWithIdentityToken, <__D as Deserializer<'de>>::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) -> UserWithIdentityToken
fn from(value: &UserWithIdentityToken) -> UserWithIdentityToken
Converts to this type from the input type.
Source§impl Serialize for UserWithIdentityToken
impl Serialize for UserWithIdentityToken
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UserWithIdentityToken
impl RefUnwindSafe for UserWithIdentityToken
impl Send for UserWithIdentityToken
impl Sync for UserWithIdentityToken
impl Unpin 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