pub struct ReqwestOAuthHttpClient { /* private fields */ }Expand description
OAuthHttpClient backed by reqwest.
Implementations§
Source§impl ReqwestOAuthHttpClient
impl ReqwestOAuthHttpClient
Sourcepub fn without_redirects() -> Result<Self, OAuthClientError>
pub fn without_redirects() -> Result<Self, OAuthClientError>
Create a client that does not automatically follow redirects.
Trait Implementations§
Source§impl Clone for ReqwestOAuthHttpClient
impl Clone for ReqwestOAuthHttpClient
Source§fn clone(&self) -> ReqwestOAuthHttpClient
fn clone(&self) -> ReqwestOAuthHttpClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReqwestOAuthHttpClient
impl Debug for ReqwestOAuthHttpClient
Source§impl OAuthHttpClient for ReqwestOAuthHttpClient
impl OAuthHttpClient for ReqwestOAuthHttpClient
Source§fn execute<'life0, 'async_trait>(
&'life0 self,
request: OAuthHttpRequest,
) -> Pin<Box<dyn Future<Output = Result<OAuthHttpResponse, OAuthClientError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
request: OAuthHttpRequest,
) -> Pin<Box<dyn Future<Output = Result<OAuthHttpResponse, OAuthClientError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute one OAuth protocol request.
Auto Trait Implementations§
impl !RefUnwindSafe for ReqwestOAuthHttpClient
impl !UnwindSafe for ReqwestOAuthHttpClient
impl Freeze for ReqwestOAuthHttpClient
impl Send for ReqwestOAuthHttpClient
impl Sync for ReqwestOAuthHttpClient
impl Unpin for ReqwestOAuthHttpClient
impl UnsafeUnpin for ReqwestOAuthHttpClient
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