Skip to main content

is_in

Function is_in 

Source
pub fn is_in(
    field: &str,
    value: &str,
    allowed: &[&str],
    custom: Option<&str>,
) -> Result<(), ValidationException>
Expand description

Requires value to equal one of allowed.