TigerBeetlex.AccountBalance (tigerbeetlex v0.16.48)

View Source

See AccountBalance.

Summary

Functions

Creates a TigerBeetlex.AccountBalance struct from its binary representation.

Converts a TigerBeetlex.AccountBalance struct to its binary representation.

Types

t()

@type t() :: %TigerBeetlex.AccountBalance{
  credits_pending: non_neg_integer(),
  credits_posted: non_neg_integer(),
  debits_pending: non_neg_integer(),
  debits_posted: non_neg_integer(),
  timestamp: non_neg_integer()
}

Functions

from_binary(bin)

@spec from_binary(binary :: <<_::1024>>) :: t()

Creates a TigerBeetlex.AccountBalance struct from its binary representation.

to_binary(struct)

@spec to_binary(struct :: t()) :: <<_::1024>>

Converts a TigerBeetlex.AccountBalance struct to its binary representation.