Skip to main content

validate_identifier

Function validate_identifier 

Source
pub fn validate_identifier(
    field: &'static str,
    value: &str,
) -> Result<(), ValidationError>
Expand description

Validate an identifier (agent name, project name). Must be non-empty and contain no shell metacharacters.