pub struct OAuth2PasswordFlow {
pub username: String,
pub password: String,
pub grant_type: String,
}Expand description
represents form data payload for OAuth2 password flow
Fields§
§username: String§password: String§grant_type: StringImplementations§
Trait Implementations§
Source§impl Debug for OAuth2PasswordFlow
impl Debug for OAuth2PasswordFlow
Source§impl<'de> Deserialize<'de> for OAuth2PasswordFlow
impl<'de> Deserialize<'de> for OAuth2PasswordFlow
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 OAuth2PasswordFlow
impl RefUnwindSafe for OAuth2PasswordFlow
impl Send for OAuth2PasswordFlow
impl Sync for OAuth2PasswordFlow
impl Unpin for OAuth2PasswordFlow
impl UnsafeUnpin for OAuth2PasswordFlow
impl UnwindSafe for OAuth2PasswordFlow
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