pub struct HttpExchange {
pub request: Request<()>,
pub response: Response<()>,
pub elapsed: Duration,
/* private fields */
}Expand description
HTTP exchange metadata captured for cache semantics evaluation.
Fields§
§request: Request<()>HTTP request issued to the upstream JWKS endpoint.
response: Response<()>Response metadata returned from the upstream.
elapsed: DurationRound-trip duration of the exchange.
Implementations§
Trait Implementations§
Source§impl Clone for HttpExchange
impl Clone for HttpExchange
Source§fn clone(&self) -> HttpExchange
fn clone(&self) -> HttpExchange
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 moreAuto Trait Implementations§
impl !Freeze for HttpExchange
impl !RefUnwindSafe for HttpExchange
impl Send for HttpExchange
impl Sync for HttpExchange
impl Unpin for HttpExchange
impl !UnwindSafe for HttpExchange
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