Function chrono_simpletz::serde::rfc3339_option::p7::serialize
source · pub fn serialize<S>(
dt: &Option<DateTime<UtcP7>>,
serializer: S
) -> Result<S::Ok, S::Error>where
S: Serializer,
👎Deprecated since 0.3.0: use
crate::serde::rfc3339_option
insteadExpand description
Funciton for serialize. Use this for serialize_with.