Skip to main content

validate_text

Function validate_text 

Source
pub fn validate_text(value: &str, ty: &TypeExpr) -> Result<(), ValidationError>
Expand description

Validate a textual value (e.g. query/header/path/form field) against a type.