Struct form_data::Map[][src]

pub struct Map { /* fields omitted */ }

A definition of key-value pairs to be parsed from form data.

Methods

impl Map
[src]

Add a Field to a map

Example

Field::map()
    .field("sub-field", Field::text())
    .field("sub-field-two", Field::text())
    .finalize();

Finalize the map into a Field, so it can be added to a Form

Field::map()
    .field("sub-field", Field::text())
    .field("sub-field-two", Field::text())
    .finalize();

Trait Implementations

impl Debug for Map
[src]

Formats the value using the given formatter. Read more

impl Clone for Map
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Map

impl Sync for Map