pub fn validate_nonempty(s: &str, field: &str) -> Result<()>
A required free-form string that must not be empty (field names it for the error message).
field