Current section
Files
Jump to
Current section
Files
lib/timeless_traces/result.ex
defmodule TimelessTraces.Result do
@moduledoc """
Query result with pagination metadata.
"""
defstruct entries: [], total: 0, limit: 100, offset: 0, has_more: false
@type t :: %__MODULE__{
entries: [TimelessTraces.Span.t()],
total: non_neg_integer(),
limit: pos_integer(),
offset: non_neg_integer(),
has_more: boolean()
}
end