pub(crate) fn validate_id(v: &str) -> Result<(), ValidationError>
Expand description
A private function used for the validation of id
entries.
tests:
- field is not empty.
- there is no dot present.
- it doesn’t contain other illegal characters: [’ ’, ‘\t’, ‘\n’, ‘\r’, ‘\’, ‘'’, ‘“’, ‘,’].