Skip to main content

validate_names

Function validate_names 

Source
pub fn validate_names(
    display_name: &str,
    subtitle: &str,
) -> AppResult<(String, String)>
Expand description

Validates the display name (empty after trimming = back to the default) and the subtitle (empty = none). Pure.