pub struct Request {
pub url: String,
pub method: String,
pub headers: HashMap<String, String>,
}
Expand description
Request information
this contains basic information about a request received.
Fields§
§url: String
Request URL
method: String
HTTP method
headers: HashMap<String, String>
Request headers
Trait Implementations§
impl StructuralPartialEq for Request
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