Struct http_parser::HttpVersion
[−]
[src]
pub struct HttpVersion { pub major: u8, pub minor: u8, }
HTTP protocol version.
Fields
major | Major version |
minor | Minor version |
pub struct HttpVersion { pub major: u8, pub minor: u8, }
HTTP protocol version.
major | Major version |
minor | Minor version |
impl Display for HttpVersion
impl Debug for HttpVersion
impl Copy for HttpVersion
impl Clone for HttpVersion
fn clone(&self) -> HttpVersion
fn clone_from(&mut self, source: &Self)
impl Eq for HttpVersion
impl PartialEq for HttpVersion
fn eq(&self, __arg_0: &HttpVersion) -> bool
fn ne(&self, __arg_0: &HttpVersion) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)