bitcoin_units::amount::serde::as_btc

Function deserialize

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