Struct direct_http::Request
source · pub struct Request {
pub path: String,
pub method: Method,
pub slugs: HashMap<String, String>,
pub headers: HashMap<String, String>,
}Fields§
§path: String§method: Method§slugs: HashMap<String, String>§headers: HashMap<String, String>Implementations§
Trait Implementations§
Auto Trait Implementations§
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