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