pub struct AuthRequest {
pub email: String,
pub password: String,
pub remember_me: Option<bool>,
pub device_info: Option<DeviceInfo>,
pub ip_address: Option<String>,
pub user_agent: Option<String>,
}Expand description
Enhanced authentication request
Fields§
§email: String§password: String§remember_me: Option<bool>§device_info: Option<DeviceInfo>§ip_address: Option<String>§user_agent: Option<String>Trait Implementations§
Source§impl Clone for AuthRequest
impl Clone for AuthRequest
Auto Trait Implementations§
impl Freeze for AuthRequest
impl RefUnwindSafe for AuthRequest
impl Send for AuthRequest
impl Sync for AuthRequest
impl Unpin for AuthRequest
impl UnsafeUnpin for AuthRequest
impl UnwindSafe for AuthRequest
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