pub struct Request {
pub path: String,
pub method: HttpMethod,
pub version: String,
pub headers: HashMap<String, String>,
pub headers_raw: String,
pub body: String,
pub raw_string: String,
pub queries: Option<HashMap<String, String>>,
pub params: HashMap<String, String>,
}Fields§
§path: String§method: HttpMethod§version: String§headers: HashMap<String, String>§headers_raw: String§body: String§raw_string: String§queries: Option<HashMap<String, String>>§params: HashMap<String, String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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