pub fn serialize<S>(date: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        serializer.serialize_str(&date.format(HUMAN_READABLE_FORMAT).to_string())
    }
/// Serializes a date into a human-readable format.
Serializes a date into a human-readable format.
Serializes a date into a human - readable format .
pub fn serialize<S>(date: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        serializer.serialize_str(&date.format(HUMAN_READABLE_FORMAT).to_string())
    }
pub fn serialize < S > ( date : & NaiveDateTime , serializer : S ) -> Result < S :: Ok , S :: Error > where S : Serializer , { serializer . serialize_str ( & date . format ( HUMAN_READABLE_FORMAT ) . to_string ( ) ) }
Serializes a date into a human-readable format.
Serializes a date into a human - readable format .
date
&NaiveDateTime
serializer
S
date
&NaiveDateTime
serializer
S