Module hyper::header::shared::quality_item [-]  [+] [src]

Provides a struct for quality values.

RFC7231 Section 5.3.1 gives more information on quality values in HTTP header fields.

Structs

QualityItem

Represents an item with a quality value as defined in RFC7231.

Functions

qitem

Convinience function to wrap a value in a QualityItem Sets q to the default 1.0