pub struct LoginRequest {
pub username: String,
pub password: String,
pub expires_in_mins: Option<u32>,
}Expand description
Login request payload
Fields§
§username: String§password: String§expires_in_mins: Option<u32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoginRequest
impl RefUnwindSafe for LoginRequest
impl Send for LoginRequest
impl Sync for LoginRequest
impl Unpin for LoginRequest
impl UnwindSafe for LoginRequest
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