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