pub struct Request {
pub uri: String,
pub body: String,
pub method: Method,
pub params: HashMap<String, String>,
pub headers: HashMap<String, String>,
pub http_version: String,
}Fields§
§uri: String§body: String§method: Method§params: HashMap<String, String>§headers: HashMap<String, String>§http_version: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe 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