Struct nickel::Params [] [src]

pub struct Params(_);

Methods

impl Params
[src]

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.

Trait Implementations

impl Eq for Params
[src]

impl PartialEq for Params
[src]

fn eq(&self, __arg_0: &Params) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Params) -> bool

This method tests for !=.

impl Debug for Params
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.