Skip to main content

combine_not

Function combine_not 

Source
pub fn combine_not(
    field: &str,
    validators: &[Box<dyn Fn() -> Result<(), ValidationException> + Send + Sync>],
    custom: Option<&str>,
) -> Result<(), ValidationException>
Expand description

Requires at least one of validators to fail. Succeeds on empty input; fails when all pass.