kvarn::prelude::parse

Struct ValueQualitySet

source
pub struct ValueQualitySet<'a> {
    pub value: &'a str,
    pub quality: f32,
}
Expand description

A pair of a value string and a quality of said value.

Often used in the accept-* HTTP headers.

Fields§

§value: &'a str

The value with a quality

§quality: f32

The quality of a value

Trait Implementations§

source§

impl<'a> Debug for ValueQualitySet<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) ->