Struct de_lobby_model::auth::UsernameAndPassword
source · pub struct UsernameAndPassword {
username: String,
password: String,
}
Expand description
Username & password to be used while signing in.
Fields§
§username: String
§password: String
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for UsernameAndPassword
impl<'de> Deserialize<'de> for UsernameAndPassword
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
Auto Trait Implementations§
impl Freeze for UsernameAndPassword
impl RefUnwindSafe for UsernameAndPassword
impl Send for UsernameAndPassword
impl Sync for UsernameAndPassword
impl Unpin for UsernameAndPassword
impl UnwindSafe for UsernameAndPassword
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