Struct pavex::request::RequestHead
source · pub struct RequestHead {
pub method: Method,
pub target: Uri,
pub version: Version,
pub headers: HeaderMap,
}
Expand description
Fields§
§method: Method
The HTTP method of the request.
target: Uri
The target of the request.
version: Version
The HTTP version used by the request.
headers: HeaderMap
The headers attached to the request.
Trait Implementations§
source§impl Debug for RequestHead
impl Debug for RequestHead
Auto Trait Implementations§
impl !Freeze for RequestHead
impl RefUnwindSafe for RequestHead
impl Send for RequestHead
impl Sync for RequestHead
impl Unpin for RequestHead
impl UnwindSafe for RequestHead
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