Skip to main content

from_hex

Function from_hex 

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

Parse a 32-char hex string (or hyphenated UUID) back to Uuid.

Accepts both "550e8400e29b41d4a716446655440000" and "550e8400-e29b-41d4-a716-446655440000" for backwards compatibility.