Function rust_decimal::serde::str_option::serialize
source · pub fn serialize<S>(
value: &Option<Decimal>,
serializer: S
) -> Result<S::Ok, S::Error>where
S: Serializer,
Available on crate feature
serde
and (crate features serde-with-str
or serde-with-float
or serde-with-arbitrary-precision
) and crate feature serde-with-str
only.