Struct chilli::datastructures::MultiDict [] [src]

pub struct MultiDict<T> { /* fields omitted */ }

This is used to deal with multiple values for the same key.

Methods

impl<T> MultiDict<T>
[src]

[src]

[src]

Return the first value for this key.

[src]

Removes an existing key first and add the value.

[src]

Adds a new value for the key.

[src]

Return the list of items for a given key.

Important traits for MultiDictIter<'a, T>
[src]

An iterator of (key, value) pairs. The value will be first value of each key.

Important traits for Iter<'a, K, V>
[src]

An iterator of (key, values) pairs.

Important traits for Keys<'a, K, V>
[src]

An iterator visiting all keys in arbitrary order.

Important traits for MultiDictValues<'a, T>
[src]

An iterator of the first value on every key's value list.

Important traits for Values<'a, K, V>
[src]

An iterator of all values corresponding to a key.

Trait Implementations

impl<T: Clone> Clone for MultiDict<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for MultiDict<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for MultiDict<T> where
    T: Send

impl<T> Sync for MultiDict<T> where
    T: Sync