pub fn serialize<S>(date: &DateTime<Utc>, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer,
    {
        let timestamp = date.timestamp();
        serializer.serialize_i64(timestamp)
    }
/// Serializes a DateTime<Utc> to a Unix timestamp (milliseconds since 1970/1/1T00:00:00T)
Serializes a DateTime to a Unix timestamp (milliseconds since 1970/1/1T00:00:00T)
Serializes a DateTime to a Unix timestamp ( milliseconds since 1970 / 1 / 1T00 : 00 : 00T )
pub fn serialize<S>(date: &DateTime<Utc>, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer,
    {
        let timestamp = date.timestamp();
        serializer.serialize_i64(timestamp)
    }
pub fn serialize < S > ( date : & DateTime < Utc > , serializer : S ) -> Result < S :: Ok , S :: Error > where S : Serializer , { let timestamp = date . timestamp ( ) ; serializer . serialize_i64 ( timestamp ) }
Serializes a DateTime<Utc> to a Unix timestamp (milliseconds since 1970/1/1T00:00:00T)
Serializes a DateTime<Utc > to a Unix timestamp ( milliseconds since 1970 / 1 / 1T00 : 00 : 00T )
date
&DateTime<Utc>
serializer
S
date
&DateTime<Utc>
serializer
S