barrel::types
pub fn uuid() -> Type
A (standardised) UUID primary key type
Similar to primary(), but uses a standard layout UUID type, mapping to uuid on Pg and not supported by all Sql variants.
primary()
uuid
Pg