Struct fusionauth_rust_client::models::user_response::UserResponse
source · pub struct UserResponse {
pub email_verification_id: Option<String>,
pub email_verification_one_time_code: Option<String>,
pub registration_verification_ids: Option<HashMap<String, String>>,
pub token: Option<String>,
pub token_expiration_instant: Option<i64>,
pub user: Option<Box<User>>,
}
Expand description
UserResponse : User API response object.
Fields§
§email_verification_id: Option<String>
§email_verification_one_time_code: Option<String>
§registration_verification_ids: Option<HashMap<String, String>>
§token: Option<String>
§token_expiration_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
user: Option<Box<User>>
Implementations§
source§impl UserResponse
impl UserResponse
sourcepub fn new() -> UserResponse
pub fn new() -> UserResponse
User API response object.
Trait Implementations§
source§impl Clone for UserResponse
impl Clone for UserResponse
source§fn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
Returns a copy 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 Default for UserResponse
impl Default for UserResponse
source§fn default() -> UserResponse
fn default() -> UserResponse
Returns the “default value” for a type. Read more
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
source§impl PartialEq for UserResponse
impl PartialEq for UserResponse
source§fn eq(&self, other: &UserResponse) -> bool
fn eq(&self, other: &UserResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserResponse
impl Serialize for UserResponse
impl StructuralPartialEq for UserResponse
Auto Trait Implementations§
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