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: StringMethod
path: StringPath
pathname: StringPathname
params: ParamsParams
TODO: delete this one, after PathExtractor ready.
querystring: StringQuerystring
query: QueryDataQuery
version: StringHttp Version
headers: HeadersHeaders
body: StringBody
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