pub fn validate_length<T: Length>(
value: T,
min: Option<usize>,
max: Option<usize>,
equal: Option<usize>,
) -> boolExpand description
Validates the length of the value given.
If the validator has equal set, it will ignore any min and max value.
See the Length trait for more details.