pub struct HttpRequest {
pub verb: String,
pub app: String,
pub res: String,
pub method: String,
pub qry: Vec<String>,
pub data: String,
}
Expand description
§–– Decode HTTP REQUEST and converte in Http_Request Struct
Fields§
§verb: String
§app: String
§res: String
§method: String
§qry: Vec<String>
§data: String
Implementations§
Source§impl HttpRequest
impl HttpRequest
pub fn new(req_http: &str) -> Option<HttpRequest>
Trait Implementations§
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