pub fn as_time(&self) -> crate::Result<Time> {
        match &self {
            Self::Time(t) => Ok(*t),
            _ => Err(error::unimplement("can not convert to Time"))
        }
    }
/// If Value can parse to Time, returns an Time. Returns Err otherwise.
If Value can parse to Time, returns an Time. Returns Err otherwise.
If Value can parse to Time returns an Time . Returns Err otherwise .
pub fn as_time(&self) -> crate::Result<Time> {
        match &self {
            Self::Time(t) => Ok(*t),
            _ => Err(error::unimplement("can not convert to Time"))
        }
    }
pub fn as_time ( & self ) -> crate :: Result < Time > { match & self { Self :: Time ( t ) => Ok ( * t ) , _ => Err ( error :: unimplement ( " " ) ) } }
If Value can parse to Time, returns an Time.
If Value can parse to Time returns an Time .
&self