ketzal_validation 0.1.0

Declarative models and validation for the Ketzal framework
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::Serialize;

#[derive(Debug, Clone, Serialize)]
pub struct ValidationError {
    pub field: String,

    pub rule: String,

    pub message: String,
}