pub struct AuthCredentials {
pub email: String,
pub password: String,
}
Expand description
AuthCredentials to be encoded into AuthToken and vice-versa
Fields§
§email: String
§password: String
Trait Implementations§
Source§impl Clone for AuthCredentials
impl Clone for AuthCredentials
Source§fn clone(&self) -> AuthCredentials
fn clone(&self) -> AuthCredentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthCredentials
impl Debug for AuthCredentials
Source§impl PartialEq for AuthCredentials
impl PartialEq for AuthCredentials
Source§impl Serialize for AuthCredentials
impl Serialize for AuthCredentials
impl StructuralPartialEq for AuthCredentials
Auto Trait Implementations§
impl Freeze for AuthCredentials
impl RefUnwindSafe for AuthCredentials
impl Send for AuthCredentials
impl Sync for AuthCredentials
impl Unpin for AuthCredentials
impl UnwindSafe for AuthCredentials
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