ruma_identifiers_validation::user_id

Function validate_strict

Source
pub fn validate_strict(s: &str) -> Result<(), Error>
Expand description

Validate a user ID to follow the spec recommendations when generating them.