bitcoin::amount::serde::as_btc

Function deserialize

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