bitcoin_units::amount::serde::as_sat

Function serialize

source
pub fn serialize<A: SerdeAmount, S: Serializer>(
    a: &A,
    s: S,
) -> Result<S::Ok, S::Error>
Available on crate feature serde only.