kvarn::prelude::utils::parse

Struct QueryPair

source
pub struct QueryPair<'a> { /* private fields */ }
Expand description

A key-value pair in the query.

Implementations§

source§

impl<'a> QueryPair<'a>

source

pub fn name(&self) -> &str

Gets the name of the query pair

source

pub fn value(&self) -> &str

Gets the value of the query pair

Trait Implementations§