pub struct ReqwestClient { /* private fields */ }Available on crate feature
reqwest-client only.Expand description
A Client implementation based on reqwest::Client.
Implementations§
source§impl ReqwestClient
impl ReqwestClient
sourcepub fn new(inner: InnerClient) -> Self
pub fn new(inner: InnerClient) -> Self
Create a new ReqwestClient with the given reqwest::Client.
Trait Implementations§
source§impl Client for ReqwestClient
impl Client for ReqwestClient
source§impl Clone for ReqwestClient
impl Clone for ReqwestClient
source§fn clone(&self) -> ReqwestClient
fn clone(&self) -> ReqwestClient
Returns a copy of the value. Read more
1.0.0 · 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 ReqwestClient
impl Debug for ReqwestClient
source§impl Default for ReqwestClient
impl Default for ReqwestClient
source§fn default() -> ReqwestClient
fn default() -> ReqwestClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReqwestClient
impl !RefUnwindSafe for ReqwestClient
impl Send for ReqwestClient
impl Sync for ReqwestClient
impl Unpin for ReqwestClient
impl !UnwindSafe for ReqwestClient
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)