pub struct HttpRequestLine {
pub method: Box<str>,
pub target: Box<str>,
pub version: Box<str>,
}Expand description
HTTP/1.1 请求行
Fields§
§method: Box<str>方法(原始大写)
target: Box<str>请求目标
version: Box<str>HTTP 版本
Trait 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
impl Eq for HttpRequestLine
Source§impl PartialEq for HttpRequestLine
impl PartialEq 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