Crate adequate

Source

Modules§

validation

Macros§

validate
validate! macro validates given fields and its inputs.

Structs§

Error
Error is an enum struct wraps multiple feedback.
Feedback
Feedback struct contains target field name and multiple Message objects if the context is negative (otherwise it will be an empty vector).
Message
Message struct holds the validation error message keys and its args for interpolation.

Functions§

msgfmt
An utility function for translation by using the optional text attribute.