Derive Macro type_ulid::TypeUlid

source ·
#[derive(TypeUlid)]
{
    // Attributes available to this derive:
    #[ulid]
}
Expand description

Derive macro for the TypeUlid trait.

§Example

#[derive(TypeUlid)]
#[ulid = "01GNDEY1ZEC7BGREZNG2JNTPRP"]
struct MyStruct;