pub struct Request {
pub body: Option<String>,
pub headers: Option<Headers>,
pub http_version: Option<String>,
pub method: String,
pub socket: Option<Socket>,
pub url: Url,
}
Fields§
§body: Option<String>
§headers: Option<Headers>
§http_version: Option<String>
§method: String
§socket: Option<Socket>
§url: Url
Trait Implementations§
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