pub struct RegistrationResponse {
pub refresh_token: Option<String>,
pub refresh_token_id: Option<Uuid>,
pub registration: Option<Box<UserRegistration>>,
pub registration_verification_id: Option<String>,
pub registration_verification_one_time_code: Option<String>,
pub token: Option<String>,
pub token_expiration_instant: Option<i64>,
pub user: Option<Box<User>>,
}
Expand description
RegistrationResponse : Registration API request object.
Fields§
§refresh_token: Option<String>
§refresh_token_id: Option<Uuid>
§registration: Option<Box<UserRegistration>>
§registration_verification_id: Option<String>
§registration_verification_one_time_code: Option<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 RegistrationResponse
impl RegistrationResponse
Sourcepub fn new() -> RegistrationResponse
pub fn new() -> RegistrationResponse
Registration API request object.
Trait Implementations§
Source§impl Clone for RegistrationResponse
impl Clone for RegistrationResponse
Source§fn clone(&self) -> RegistrationResponse
fn clone(&self) -> RegistrationResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RegistrationResponse
impl Debug for RegistrationResponse
Source§impl Default for RegistrationResponse
impl Default for RegistrationResponse
Source§fn default() -> RegistrationResponse
fn default() -> RegistrationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistrationResponse
impl<'de> Deserialize<'de> for RegistrationResponse
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 RegistrationResponse
impl PartialEq for RegistrationResponse
Source§impl Serialize for RegistrationResponse
impl Serialize for RegistrationResponse
impl StructuralPartialEq for RegistrationResponse
Auto Trait Implementations§
impl Freeze for RegistrationResponse
impl RefUnwindSafe for RegistrationResponse
impl Send for RegistrationResponse
impl Sync for RegistrationResponse
impl Unpin for RegistrationResponse
impl UnwindSafe for RegistrationResponse
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