Trait serde_valid::ValidateMaxLength
source · [−]pub trait ValidateMaxLength {
fn validate_max_length(
&self,
max_length: usize
) -> Result<(), MaxLengthErrorParams>;
}
Expand description
Max length of the string validation.
See https://json-schema.org/understanding-json-schema/reference/string.html#length