UXID.Codec (UXID v2.1.0)

View Source

This represents a UXID during encoding with all of the fields split out.

Summary

Types

t()

A UXID struct during encoding

Types

t()

@type t() :: %UXID.Codec{
  case: atom() | nil,
  delimiter: String.t() | nil,
  encoded: String.t() | nil,
  prefix: String.t() | nil,
  rand: binary() | nil,
  rand_encoded: String.t() | nil,
  rand_size: pos_integer() | nil,
  size: atom() | nil,
  string: String.t() | nil,
  time: pos_integer() | nil,
  time_encoded: String.t() | nil
}

A UXID struct during encoding