Current section
Files
Jump to
Current section
Files
lib/squid_mesh/tools/result.ex
defmodule SquidMesh.Tools.Result do
@moduledoc """
Normalized successful tool result.
"""
@enforce_keys [:adapter, :payload]
defstruct [:adapter, :payload, metadata: %{}]
@type t :: %__MODULE__{
adapter: module(),
payload: map(),
metadata: map()
}
end