/// Interpret as a date, if possible
Interpret as a date, if possible
Interpret as a date if possible
pub fn to_date(&self) -> Option<Date> {
        match self.0 {
            ScalarCowEnum::Date(ref x) => Some(*x),
            ScalarCowEnum::Str(ref x) => parse_date(x.as_ref()),
            _ => None,
        }
    }
pub fn to_date ( & self ) -> Option < Date > { match self . 0 { ScalarCowEnum :: Date ( ref x ) => Some ( * x ) , ScalarCowEnum :: Str ( ref x ) => parse_date ( x . as_ref ( ) ) , _ => None , } }
Interpret as a date, if possible
Interpret as a date if possible
&self