pub trait ValidateCustom {
// Provided methods
fn validate_custom(&self) -> Result<(), ErrorTree> { ... }
fn validate_custom_with(
&self,
_ctx: &ValidateContext,
) -> Result<(), ErrorTree> { ... }
}Expand description
ValidateCustom
custom validation behaviour that can be added to any type