use dade::{model, Result}; #[model] enum TestModel { Value { #[field(validate = validate_fn)] value: bool }, } fn main() {}