pub(crate) fn validate_type_id(v: &str) -> Result<(), ValidationError>
Expand description
A private function used for the validation of type_id
entries.
tests:
- field is not empty.
- there is only one dot present and it’s neither the first nor the last character.
- it doesn’t contain illegal characters: [’ ’, ‘\t’, ‘\n’, ‘\r’, ‘\’, ‘'’, ‘“’, ‘,’].