pub struct UsernamePasswordData {
pub username: String,
pub password: String,
}Fields§
§username: String§password: StringTrait Implementations§
Source§impl<U: User> Credentials<U, UsernamePasswordData> for UsernamePasswordCredentials<U>
impl<U: User> Credentials<U, UsernamePasswordData> for UsernamePasswordCredentials<U>
Source§impl Debug for UsernamePasswordData
impl Debug for UsernamePasswordData
Source§impl<'de> Deserialize<'de> for UsernamePasswordData
impl<'de> Deserialize<'de> for UsernamePasswordData
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 UsernamePasswordData
impl RefUnwindSafe for UsernamePasswordData
impl Send for UsernamePasswordData
impl Sync for UsernamePasswordData
impl Unpin for UsernamePasswordData
impl UnwindSafe for UsernamePasswordData
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