pub struct LoginResponse {Show 19 fields
pub actions: Option<Vec<LoginPreventedResponse>>,
pub change_password_id: Option<String>,
pub change_password_reason: Option<ChangePasswordReason>,
pub configurable_methods: Option<Vec<String>>,
pub email_verification_id: Option<String>,
pub identity_verification_id: Option<String>,
pub methods: Option<Vec<TwoFactorMethod>>,
pub pending_id_p_link_id: Option<String>,
pub refresh_token: Option<String>,
pub refresh_token_id: Option<Uuid>,
pub registration_verification_id: Option<String>,
pub state: Option<HashMap<String, Value>>,
pub threats_detected: Option<Vec<Value>>,
pub token: Option<String>,
pub token_expiration_instant: Option<i64>,
pub trust_token: Option<String>,
pub two_factor_id: Option<String>,
pub two_factor_trust_id: Option<String>,
pub user: Option<Box<User>>,
}Expand description
LoginResponse :
Fields§
§actions: Option<Vec<LoginPreventedResponse>>§change_password_id: Option<String>§change_password_reason: Option<ChangePasswordReason>§configurable_methods: Option<Vec<String>>§email_verification_id: Option<String>§identity_verification_id: Option<String>§methods: Option<Vec<TwoFactorMethod>>§pending_id_p_link_id: Option<String>§refresh_token: Option<String>§refresh_token_id: Option<Uuid>§registration_verification_id: Option<String>§state: Option<HashMap<String, Value>>§threats_detected: Option<Vec<Value>>§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.
trust_token: Option<String>§two_factor_id: Option<String>§two_factor_trust_id: Option<String>§user: Option<Box<User>>Implementations§
Source§impl LoginResponse
impl LoginResponse
Sourcepub fn new() -> LoginResponse
pub fn new() -> LoginResponse
Trait Implementations§
Source§impl Clone for LoginResponse
impl Clone for LoginResponse
Source§fn clone(&self) -> LoginResponse
fn clone(&self) -> LoginResponse
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 LoginResponse
impl Debug for LoginResponse
Source§impl Default for LoginResponse
impl Default for LoginResponse
Source§fn default() -> LoginResponse
fn default() -> LoginResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginResponse
impl<'de> Deserialize<'de> for LoginResponse
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 LoginResponse
impl PartialEq for LoginResponse
Source§impl Serialize for LoginResponse
impl Serialize for LoginResponse
impl StructuralPartialEq for LoginResponse
Auto Trait Implementations§
impl Freeze for LoginResponse
impl RefUnwindSafe for LoginResponse
impl Send for LoginResponse
impl Sync for LoginResponse
impl Unpin for LoginResponse
impl UnwindSafe for LoginResponse
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