Struct http_parser::HttpVersion
[−]
[src]
pub struct HttpVersion { pub major: u8, pub minor: u8, }
HTTP protocol version.
Fields
major: u8
Major version
minor: u8
Minor version
Trait Implementations
impl PartialEq for HttpVersion
[src]
fn eq(&self, __arg_0: &HttpVersion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HttpVersion) -> bool
This method tests for !=
.
impl Eq for HttpVersion
[src]
impl Clone for HttpVersion
[src]
fn clone(&self) -> HttpVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more