Struct proxy_server::http::request::Request
source · pub struct Request {
pub url: String,
pub protocol: String,
pub method: String,
pub content_length: u32,
pub headers_raw: String,
pub headers: Vec<Header>,
pub body: String,
}
Fields§
§url: String
§protocol: String
§method: String
§content_length: u32
§headers_raw: String
§headers: Vec<Header>
§body: 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