Skip to main content

validate_non_empty_str

Function validate_non_empty_str 

Source
pub fn validate_non_empty_str(value: &str, field: &str) -> Result<()>
Expand description

Validate that a string is non-empty after trimming.