Module as_sat
Expand description
Serialize and deserialize Amount
as real numbers denominated in satoshi.
Use with #[serde(with = "amount::serde::as_sat")]
.
Modules§
- Serialize and deserialize
Option<Amount>
as real numbers denominated in satoshi. Use with#[serde(default, with = "amount::serde::as_sat::opt")]
.