bdk_chain::bitcoin::amount::serde::as_sat::opt

Function deserialize

pub fn deserialize<'d, A, D>(
    d: D,
) -> Result<Option<A>, <D as Deserializer<'d>>::Error>