[][src]Crate webforms

A crate for deriving multiple form helper traits useful when working with web forms.

Currently impleted traits:

  • ValidateForm - Checks each annotated field for requirement list in the field attributes.
  • HtmlForm - Produces valid html input fields for each field in a form

See each module for examples

Features

  • validate - Enables the ValidateForm trait and derive macro
  • html - Enables the HtmlForm trait and derive macro

Modules

validate

Validates a stuct's fields according the attributes applied to each field.