Skip to main content

validate_entity_id

Function validate_entity_id 

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

Validate an entity ID string: non-empty, max 128 chars, alphanumeric + underscore + hyphen.