Function bitcoin::util::amount::serde::as_btc::opt::serialize[][src]

pub fn serialize<A: SerdeAmountForOpt, S: Serializer>(
    a: &Option<A>,
    s: S
) -> Result<S::Ok, S::Error>