pub struct AuthPayload {
pub username: String,
pub password: String,
pub grant_type: &'static str,
pub mfa_code: Option<String>,
}Fields§
§username: String§password: String§grant_type: &'static str§mfa_code: Option<String>Trait Implementations§
Source§impl Debug for AuthPayload
impl Debug for AuthPayload
Auto Trait Implementations§
impl Freeze for AuthPayload
impl RefUnwindSafe for AuthPayload
impl Send for AuthPayload
impl Sync for AuthPayload
impl Unpin for AuthPayload
impl UnwindSafe for AuthPayload
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