pub(super) fn serialize<S: Serializer>( timestamp: &Option<Timestamp>, se: S, ) -> Result<S::Ok, S::Error>