pub struct RequestSummary {
pub method: String,
pub url_path: String,
pub headers: Vec<(String, String)>,
}Expand description
Key fields from the incoming HTTP request.
Fields§
§method: String§url_path: String§headers: Vec<(String, String)>Selected request headers (not all — see RFC 006 §drawbacks on body capture being deferred).
Trait Implementations§
Source§impl Clone for RequestSummary
impl Clone for RequestSummary
Source§fn clone(&self) -> RequestSummary
fn clone(&self) -> RequestSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RequestSummary
impl RefUnwindSafe for RequestSummary
impl Send for RequestSummary
impl Sync for RequestSummary
impl Unpin for RequestSummary
impl UnsafeUnpin for RequestSummary
impl UnwindSafe for RequestSummary
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