pub fn uuid_version(canonical: &str) -> i64Expand description
Which version a canonical UUID declares, as the digit in the third group.
uuid() mints a v4; a v7 arriving from elsewhere is a legal identifier and a program may want
to know. This reads a nibble rather than validating a layout: a value whose variant bits say
nothing is still an identifier, and refusing it would be refusing an identifier that works.