Type Alias Query

Source
pub type Query = HashMap<String, QueryValue>;
Expand description

An alias type of HashMap<String, QueryValue>.

Aliased Type§

struct Query { /* private fields */ }

Trait Implementations§

Source§

impl GetQuery for Query

Source§

fn get_first(&self, k: &String) -> Option<&String>

Gets first value from Vec via HashMap.get().
Source§

fn get_from_str(&self, k: &str) -> Option<QueryValue>

Gets value from Vec<String> via HashMap.get(). This requires one &str argument and returns Option<QueryValue> instead of Option<&QueryValue>.
Source§

fn get_first_from_str(&self, k: &str) -> Option<String>

Gets first value from Vec<String> via HashMap.get(). This requires one &str argument and returns Option<String> instead of Option<&String>.