pub struct Req {
pub body: Option<String>,
pub path: String,
pub method: ReqMethod,
pub queries: HashMap<String, String>,
/* private fields */
}
Fields§
§body: Option<String>
§path: String
§method: ReqMethod
§queries: HashMap<String, String>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Req
impl RefUnwindSafe for Req
impl Send for Req
impl Sync for Req
impl Unpin for Req
impl UnwindSafe for Req
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