pub struct AuthResponse {
pub token: Option<String>,
pub user: Option<UserInfo>,
pub requires_mfa: Option<bool>,
pub requires_mfa_setup: Option<bool>,
pub mfa_setup_data: Option<MfaSetupData>,
pub error: Option<String>,
}Expand description
Authentication response.
Fields§
§token: Option<String>§user: Option<UserInfo>§requires_mfa: Option<bool>§requires_mfa_setup: Option<bool>§mfa_setup_data: Option<MfaSetupData>§error: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for AuthResponse
impl Clone for AuthResponse
Source§fn clone(&self) -> AuthResponse
fn clone(&self) -> AuthResponse
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 AuthResponse
impl Debug for AuthResponse
Auto Trait Implementations§
impl Freeze for AuthResponse
impl RefUnwindSafe for AuthResponse
impl Send for AuthResponse
impl Sync for AuthResponse
impl Unpin for AuthResponse
impl UnwindSafe for AuthResponse
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