pub struct Request {
pub method: Method,
pub path: String,
pub body: String,
pub headers: HashMap<String, String>,
pub cookies: HashMap<String, String>,
pub query_parameters: HashMap<String, Vec<String>>,
pub path_parameters: HashMap<String, String>,
/* private fields */
}
Fields§
§method: Method
§path: String
§body: String
§headers: HashMap<String, String>
§query_parameters: HashMap<String, Vec<String>>
§path_parameters: 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
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