[][src]Struct nickel::Params

pub struct Params(_);

Methods

impl Params
[src]

pub fn get(&self, key: &str) -> Option<&str>
[src]

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.

pub fn all(&self, key: &str) -> Option<&[String]>
[src]

Retrieve all values from the query for key, or None if none are present.

Trait Implementations

impl PartialEq<Params> for Params
[src]

impl Eq for Params
[src]

impl Debug for Params
[src]

Auto Trait Implementations

impl Send for Params

impl Sync for Params

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> UnsafeAny for T where
    T: Any