Module amount
Expand description
Bitcoin amounts.
This module mainly introduces the Amount and SignedAmount types. We refer to the documentation on the types for more information.
Modules§
- serde
- This module adds serde serialization and deserialization support for Amounts.
Structs§
- Amount
- Amount
- Display
- A helper/builder that displays amount with specified settings.
- Signed
Amount - SignedAmount
Enums§
- Denomination
- A set of denominations in which amounts can be expressed.
- Parse
Amount Error - An error during amount parsing.
Traits§
- Checked
Sum - Calculate the sum over the iterator using checked arithmetic.