Skip to main content

is_length

Function is_length 

Source
pub fn is_length(
    field: &str,
    value: &str,
    min: usize,
    max: usize,
    custom: Option<&str>,
) -> Result<(), ValidationException>
Expand description

Requires a string’s byte length to be within [min, max].