pub struct Request {
pub method: Method,
pub url: String,
pub headers: HashMap<String, String>,
pub params: HashMap<String, String>,
/* private fields */
}Fields§
§method: Method§url: String§headers: HashMap<String, String>§params: 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