Module sql::query_model::validator [−][src]
Expand description
Support for validating query graph models.
The public interface consists of the following items:
- the
Model::validate
method, - the
ValidationResult
type alias, - the
ValidationError
type.
Modules
Structs
A composite Validator
that applies a chain of child Validator
instances
and concatenates their reported ValidationError
vectors.
Enums
An enum consisting of variants corresponding to the different types of constraint violations that can be detected as part of model validation.
Traits
A common trait shared by all validators.
Functions
Consumes and merges two ValidationResult
instances, reusing memory
if possible.
Type Definitions
The Result
type returned by Model::validate
.