ID

ID is the unique identifier for an object within a set. It is represented by a 64-bit unsigned integer (u64).

The valid range for an ID is [1, 2^64 - 2].

Two special values are reserved for specific purposes:

  • u64::MIN (0): Serves as a wildcard, indicating any valid ID.
  • u64::MAX (2^64 - 1): Represents infinity or total.