Module oysterpack_uid::ulid
source · Expand description
Provides the ULID functionality.
Structs
Models the domain used by DomainULID.
Represents a generic form of TypedULID<T>, i.e., it’s a ULID for the specified domain.
A TypedULID represents a domain specific ULID, where the domain is defined and enforced by the
type system.
Provides the core ULID functionality.
Enums
Types of errors that can occur while trying to decode a string into a ulid_str
Traits
Meant to be implemented by domain types to associate the Domain with the type.
Functions
Returns a new ULID encoded as a String.
Converts a ULID string representation into u128
Returns a new ULID encoded as u128
Converts a ULID u128 representation into String