Trait serde_valid::ValidateMaxItems
source · [−]pub trait ValidateMaxItems {
fn validate_max_items(
&self,
max_items: usize
) -> Result<(), MaxItemsErrorParams>;
}
Expand description
Max length of the array items validation.
See https://json-schema.org/understanding-json-schema/reference/array.html#length