Skip to main content

string

Function string 

Source
pub fn string(
    value: &str,
    min: Option<u32>,
    max: Option<u32>,
    path: &ValidationPath,
    out: &mut Violations,
)
Expand description

minLength / maxLength, counted in characters as the schemas intend.