Skip to main content

normalize_required_field

Function normalize_required_field 

Source
pub fn normalize_required_field(
    value: &str,
    field: &str,
    max_len: usize,
) -> Result<String>
Expand description

Normalizes a required string field with a byte-length limit.