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