Crate xand_money

Crate xand_money 

Source

Modules§

consts

Structs§

Decimal
Decimal represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type Decimal are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.
Usd
A representation of USD implementing Money
Xand

Enums§

MoneyError
Internal xand banks error handling logic for numeric currency values

Traits§

Money
This trait can be implemented as different currencies, providing a common interface to work with fiat money.

Type Aliases§

Result