Stellar.Horizon.Mapping (Elixir Stellar SDK v0.3.0) View Source

Takes a result map or list of maps from Horizon response and returns a struct (e.g. %Horizon.Transaction{}) or list of structs.

Link to this section Summary

Link to this section Types

Specs

attr_type() :: :integer | :float | :date_time | struct()

Specs

attr_value() ::
  String.t() | integer() | float() | boolean() | struct() | list() | nil

Link to this section Functions

Specs

build(module :: struct(), attrs :: map()) :: struct()

Specs

parse(module :: struct(), mapping :: Keyword.t()) :: struct()