macro_rules! impl_default_validation_on_set { ($({ $field:ident, $type:ty, $default:expr, $is_mutable:expr, $($rest:tt)* },)*) => { ... }; }
Expand description
Define check rules when a field is changed.
If you want custom rules, please override the default implementation in
OverrideValidateOnSet
below.