pub struct Request {
pub method: String,
pub path: String,
pub pathname: String,
pub params: Params,
pub querystring: String,
pub query: QueryData,
pub version: String,
pub headers: Headers,
pub body: String,
}
Fields§
§method: String
Method
path: String
Path
pathname: String
Pathname
params: Params
Params
TODO: delete this one, after PathExtractor ready.
querystring: String
Querystring
query: QueryData
Query
version: String
Http Version
headers: Headers
Headers
body: String
Body
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