Struct proxy_server::request::Request
source · pub struct Request {
pub protocol: String,
pub method: String,
pub status: u16,
pub status_text: String,
pub content_length: usize,
pub headers_raw: String,
pub headers: Vec<Header>,
}
Fields§
§protocol: String
§method: String
§status: u16
§status_text: String
§content_length: usize
§headers_raw: String
§headers: Vec<Header>
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