Function ibc_types_identifier::validate_identifier
source · pub fn validate_identifier(
id: &str,
min: usize,
max: usize
) -> Result<(), IdentifierError>
Expand description
Default validator function for identifiers.
A valid identifier only contain lowercase alphabetic characters, and be of a given min and max length.