validate_with

Function validate_with 

Source
pub fn validate_with<T, V: Validator<T>>(
    value: &T,
    validator: &V,
    name: impl Into<String>,
) -> CoreResult<()>
Expand description

Convenience function to validate with a custom validator