Struct dco3::auth::models::OAuth2AuthCodeFlow
source · pub struct OAuth2AuthCodeFlow {
pub client_id: String,
pub client_secret: String,
pub grant_type: String,
pub code: String,
pub redirect_uri: String,
}Expand description
represents form data payload for OAuth2 authorization code flow
Fields§
§client_id: String§client_secret: String§grant_type: String§code: String§redirect_uri: StringImplementations§
Trait Implementations§
source§impl Debug for OAuth2AuthCodeFlow
impl Debug for OAuth2AuthCodeFlow
source§impl<'de> Deserialize<'de> for OAuth2AuthCodeFlow
impl<'de> Deserialize<'de> for OAuth2AuthCodeFlow
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 RefUnwindSafe for OAuth2AuthCodeFlow
impl Send for OAuth2AuthCodeFlow
impl Sync for OAuth2AuthCodeFlow
impl Unpin for OAuth2AuthCodeFlow
impl UnwindSafe for OAuth2AuthCodeFlow
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