Struct http_parser::HttpVersion [] [src]

pub struct HttpVersion {
    pub major: u8,
    pub minor: u8,
}

HTTP protocol version.

Fields

Major version

Minor version

Trait Implementations

impl PartialEq for HttpVersion
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HttpVersion
[src]

impl Clone for HttpVersion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for HttpVersion
[src]

impl Debug for HttpVersion
[src]

Formats the value using the given formatter.

impl Display for HttpVersion
[src]

Formats the value using the given formatter. Read more