pub fn json<T>(&mut self) -> OAuthReq<T>
    where
        for<'de> T: serde::Deserialize<'de>,
    {
        let client = reqwest::blocking::Client::new();
        let builder = client.post(self.uri.as_str()).form(&self.params);
        let response = builder.send()?;
        Ok(response.json()?)
    }
/// Send the request for an access token. This method
/// can be used to convert response bodies to custom
/// objects using the serde crate. The object must implement
/// serde deserialize.
Send the request for an access token. This method
can be used to convert response bodies to custom
objects using the serde crate. The object must implement
serde deserialize.
Send the request for an access token . This method can be used to convert response bodies to custom objects using the serde crate . The object must implement serde deserialize .
pub fn json<T>(&mut self) -> OAuthReq<T>
    where
        for<'de> T: serde::Deserialize<'de>,
    {
        let client = reqwest::blocking::Client::new();
        let builder = client.post(self.uri.as_str()).form(&self.params);
        let response = builder.send()?;
        Ok(response.json()?)
    }
pub fn json < T > ( & mut self ) -> OAuthReq < T > where for < ' de > T : serde :: Deserialize < ' de > , { let client = reqwest :: blocking :: Client :: new ( ) ; let builder = client . post ( self . uri . as_str ( ) ) . form ( & self . params ) ; let response = builder . send ( ) ? ; Ok ( response . json ( ) ? ) }
Send the request for an access token.
Send the request for an access token .
&mut self
&mut self