Module parameters

Module parameters 

Source

Structs§

Parameters
A map of key/value (String,String) parameters. It can be parsed from a String, using ; or <newline> as separator between each parameters and = as separator between a key and its value. Keys and values are trimmed.

Functions§

from_iter
Builds a string from an iterator preserving the order.
from_iter_into
Same as from_iter but it writes into a user-provided string instead of allocating a new one.
get
Get the a &str-value for a &str-key according to the parameters format.
insert
Insert a key-value (&str, &str) pair by appending it at the end of s preserving the insertion order.
insert_sort
Same as insert but keys are sorted in alphabetical order.
is_ordered
Returns true if all keys are sorted in alphabetical order
iter
Returns an iterator of key-value (&str, &str) pairs according to the parameters format.
join
Joins two key-value (&str, &str) iterators removing from current any element whose key is present in new.
remove
Remove a key-value (&str, &str) pair from s preserving the insertion order.
sort
Same as from_iter_into but keys are sorted in alphabetical order.
values
Get the a &str-value iterator for a &str-key according to the parameters format.