Represents a duration of time.
The value is represented by an integer, and the precision can be one of the following:
:millisecond
:microsecond
:nanosecond
@type precision() :: :millisecond | :microsecond | :nanosecond
@type t() :: %Explorer.Duration{precision: precision(), value: integer()}