✨ Added `Default` derive to allow for same functionality as base type (#179)
parent
053d329e8b
commit
47f52327e8
|
@ -93,7 +93,7 @@ impl ClientBuilder {
|
|||
|
||||
/// `ClientWithMiddleware` is a wrapper around [`reqwest::Client`] which runs middleware on every
|
||||
/// request.
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Default)]
|
||||
pub struct ClientWithMiddleware {
|
||||
inner: reqwest::Client,
|
||||
middleware_stack: Box<[Arc<dyn Middleware>]>,
|
||||
|
|
Loading…
Reference in New Issue