pub struct LoginResponse {
pub token: String,
pub user: User,
pub mfa_required: bool,
pub expires_at: Option<DateTime<Utc>>,
pub message: String,
}Expand description
Login response
Fields§
§token: String§user: User§mfa_required: bool§expires_at: Option<DateTime<Utc>>§message: StringTrait Implementations§
Source§impl Debug for LoginResponse
impl Debug 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