Motivations
I'm using some functions from outside of our project that require &reqwest::Client as an argument, but we're using middleware via ClientWithMiddleware, and there's no way to access the inner reqwest::Client to pass to this function.
For these functions/situations, we do not care about running the middleware, just that we are reusing the same client.
Solution
Maybe a ClientWithMiddleware.get_inner() method, or implement AsRef<Client> for ClientWithMiddleware.
Alternatives
Additional context