pub fn serialize<S>(
    value: &Option<NaiveDateTime>,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,