Crate document_validator
source ·Expand description
A small library for document validation. It includes a trait called
Document
, which can be derived by giving its derive attribute helper
the path to a validator function
Modules§
Traits§
- This trait indicates that a type is a document with a defined validation scheme. Such types should ideally be a newtype struct over a type that implements
Deref::<str>