pub struct MockClient { /* private fields */ }Expand description
Mock HTTP client for testing
Implementations§
Source§impl MockClient
impl MockClient
Trait Implementations§
Source§impl Clone for MockClient
impl Clone for MockClient
Source§fn clone(&self) -> MockClient
fn clone(&self) -> MockClient
Returns a duplicate 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 MockClient
impl Debug for MockClient
Source§impl Default for MockClient
impl Default for MockClient
Source§impl HttpClient for MockClient
impl HttpClient for MockClient
Auto Trait Implementations§
impl Freeze for MockClient
impl RefUnwindSafe for MockClient
impl Send for MockClient
impl Sync for MockClient
impl Unpin for MockClient
impl UnwindSafe for MockClient
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