pub fn serialize<S>( date: &Option<DateTime<Utc>>, serializer: S, ) -> Result<S::Ok, S::Error>where S: Serializer,
Writes Some as in super::serialize and None as null.
Some
super::serialize
None
null
Only the errors of the serializer.