pub struct LoginResponse {
pub token: String,
pub username: String,
}Fields§
§token: String§username: StringTrait Implementations§
Source§impl ComposeSchema for LoginResponse
impl ComposeSchema for LoginResponse
Source§impl Serialize for LoginResponse
impl Serialize 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