pub struct AuthResponse {
pub token: String,
pub email: String,
pub first_name: String,
pub last_name: String,
pub company_id: i32,
}Fields§
§token: String§email: String§first_name: String§last_name: String§company_id: i32Implementations§
Trait Implementations§
Source§impl Clone for AuthResponse
impl Clone for AuthResponse
Source§impl Debug for AuthResponse
impl Debug for AuthResponse
Source§impl Default for AuthResponse
impl Default for AuthResponse
Source§impl<'de> Deserialize<'de> for AuthResponse
impl<'de> Deserialize<'de> for AuthResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthResponse
impl PartialEq for AuthResponse
Source§impl Serialize for AuthResponse
impl Serialize for AuthResponse
impl StructuralPartialEq for AuthResponse
Auto Trait Implementations§
impl Forget for AuthResponse
impl Freeze for AuthResponse
impl Move for AuthResponse
impl RefUnwindSafe for AuthResponse
impl Send for AuthResponse
impl Sync for AuthResponse
impl Unpin for AuthResponse
impl UnsafeUnpin 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