pub struct LoginPassword {
pub username: String,
pub password: String,
pub remember: bool,
}Fields§
§username: String§password: String§remember: boolTrust this device for the user: it may resume them later
without a password (ResumeProfile). Never true unless the user
ticked “Remember this device”.
Trait Implementations§
Source§impl Clone for LoginPassword
impl Clone for LoginPassword
Source§impl Debug for LoginPassword
impl Debug for LoginPassword
Source§impl<'de> Deserialize<'de> for LoginPassword
impl<'de> Deserialize<'de> for LoginPassword
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
impl Eq for LoginPassword
Source§impl PartialEq for LoginPassword
impl PartialEq for LoginPassword
Source§impl Serialize for LoginPassword
impl Serialize for LoginPassword
impl StructuralPartialEq for LoginPassword
Auto Trait Implementations§
impl Freeze for LoginPassword
impl RefUnwindSafe for LoginPassword
impl Send for LoginPassword
impl Sync for LoginPassword
impl Unpin for LoginPassword
impl UnsafeUnpin for LoginPassword
impl UnwindSafe for LoginPassword
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