bitcoin_units::amount::serde::as_btc::opt

Function deserialize

source
pub fn deserialize<'d, A: SerdeAmountForOpt, D: Deserializer<'d>>(
    d: D,
) -> Result<Option<A>, D::Error>
Available on crate features serde and alloc only.