Accepts only exactly 26 Crockford-base32 characters (`0-9`, `A-Z` minus `I L O U`). Anything else — including prose, sentinels or tokens without spaces — is refused.
(raw: &str)
| 119 | /// (`0-9`, `A-Z` minus `I L O U`). Anything else — including prose, |
| 120 | /// sentinels or tokens without spaces — is refused. |
| 121 | pub fn new(raw: &str) -> Option<Self> { |
| 122 | valid_fixed_id(raw, 26, &crockford_char).map(Self) |
| 123 | } |
| 124 | |
| 125 | /// The validated identifier text. |
| 126 | pub fn as_str(&self) -> &str { |
nothing calls this directly
no test coverage detected