pub struct HttpRequestLine {
pub method: String,
pub target: String,
pub version: HttpVersion,
}Expand description
A parsed HTTP request line.
Fields§
§method: String§target: String§version: HttpVersionTrait Implementations§
Source§impl Clone for HttpRequestLine
impl Clone for HttpRequestLine
Source§fn clone(&self) -> HttpRequestLine
fn clone(&self) -> HttpRequestLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpRequestLine
impl Debug for HttpRequestLine
Source§impl Hash for HttpRequestLine
impl Hash for HttpRequestLine
Source§impl PartialEq for HttpRequestLine
impl PartialEq for HttpRequestLine
Source§fn eq(&self, other: &HttpRequestLine) -> bool
fn eq(&self, other: &HttpRequestLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HttpRequestLine
impl StructuralPartialEq for HttpRequestLine
Auto Trait Implementations§
impl Freeze for HttpRequestLine
impl RefUnwindSafe for HttpRequestLine
impl Send for HttpRequestLine
impl Sync for HttpRequestLine
impl Unpin for HttpRequestLine
impl UnsafeUnpin for HttpRequestLine
impl UnwindSafe for HttpRequestLine
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