Struct nickel::Query
[−]
[src]
pub struct Query(_);
Methods
impl Query
fn get(&self, key: &str) -> Option<&str>
Retrieves the first value from the query for key
, or None
if not present.
Notes
There may be multiple values per key, if all of the values for a given
key
are required, then use all
.
fn all(&self, key: &str) -> Option<&[String]>
Retrieve all values from the query for key
, or None
if none are present.