pub struct HttpRequest {
pub method: String,
pub content: String,
pub content_type: String,
pub url: String,
pub parameters: HashMap<String, String>,
pub headers: HashMap<String, String>,
}
Fields§
§method: String
§content: String
§content_type: String
§url: String
§parameters: HashMap<String, String>
§headers: HashMap<String, String>
Auto Trait Implementations§
impl Freeze for HttpRequest
impl RefUnwindSafe for HttpRequest
impl Send for HttpRequest
impl Sync for HttpRequest
impl Unpin for HttpRequest
impl UnwindSafe for HttpRequest
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