mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 19:06:31 +00:00
Add implementation of Debug
trait for RequestBuilder
. (#50)
This commit is contained in:
parent
b3f7ce40d3
commit
360f23c952
2 changed files with 12 additions and 0 deletions
|
@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Implementation of `Debug` trait for `RequestBuilder`.
|
||||||
|
|
||||||
## [0.1.5] - 2022-02-21
|
## [0.1.5] - 2022-02-21
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -260,3 +260,12 @@ impl RequestBuilder {
|
||||||
.map(|inner| RequestBuilder { inner, client })
|
.map(|inner| RequestBuilder { inner, client })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl fmt::Debug for RequestBuilder {
|
||||||
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
|
// skipping middleware_stack field for now
|
||||||
|
f.debug_struct("RequestBuilder")
|
||||||
|
.field("inner", &self.inner)
|
||||||
|
.finish_non_exhaustive()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue