Struct ilmen_http::http::HTTPRequest
source · pub struct HTTPRequest {
pub start_line: StartLine,
pub header: Option<Vec<(String, String)>>,
pub body: Option<String>,
}
Fields§
§start_line: StartLine
§header: Option<Vec<(String, String)>>
§body: Option<String>
Trait Implementations§
source§impl Clone for HTTPRequest
impl Clone for HTTPRequest
source§fn clone(&self) -> HTTPRequest
fn clone(&self) -> HTTPRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HTTPRequest
impl Debug for HTTPRequest
source§impl PartialEq for HTTPRequest
impl PartialEq for HTTPRequest
source§fn eq(&self, other: &HTTPRequest) -> bool
fn eq(&self, other: &HTTPRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for HTTPRequest
impl TryFrom<&str> for HTTPRequest
impl StructuralPartialEq for HTTPRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)