fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        match &self {
            Value::String(text) => write!(f, "\"{}\"", text),
            Value::Base64(data) => write!(f, "{:x?}", data),
            Value::Date(date) => write!(f, "{}", date),
            Value::DateTime(dtime) => write!(f, "{}", dtime),
            Value::Duration(dur) => write!(f, "{:#?}", dur),
            Value::Number(num) => write!(f, "{}", num),
            Value::Decimal(dec) => write!(f, "{}", dec),
            Value::Boolean(val) => write!(f, "{}", val),
            Value::Null => write!(f, "null"),
        }
    }
/// Displays the value in a human-readable format.
///
/// The type of the result is (should be) always distinguishable based on
/// the format used.
Displays the value in a human-readable format.
The type of the result is (should be) always distinguishable based on
the format used.
Displays the value in a human - readable format . The type of the result is ( should be ) always distinguishable based on the format used .
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        match &self {
            Value::String(text) => write!(f, "\"{}\"", text),
            Value::Base64(data) => write!(f, "{:x?}", data),
            Value::Date(date) => write!(f, "{}", date),
            Value::DateTime(dtime) => write!(f, "{}", dtime),
            Value::Duration(dur) => write!(f, "{:#?}", dur),
            Value::Number(num) => write!(f, "{}", num),
            Value::Decimal(dec) => write!(f, "{}", dec),
            Value::Boolean(val) => write!(f, "{}", val),
            Value::Null => write!(f, "null"),
        }
    }
fn fmt ( & self , f : & mut fmt :: Formatter ) -> fmt :: Result { match & self { Value :: String ( text ) => write ! ( f " \" \" " text ) , Value :: Base64 ( data ) => write ! ( f " " data ) , Value :: Date ( date ) => write ! ( f " " date ) , Value :: DateTime ( dtime ) => write ! ( f " " dtime ) , Value :: Duration ( dur ) => write ! ( f " " dur ) , Value :: Number ( num ) => write ! ( f " " num ) , Value :: Decimal ( dec ) => write ! ( f " " dec ) , Value :: Boolean ( val ) => write ! ( f " " val ) , Value :: Null => write ! ( f " " ) , } }
Displays the value in a human-readable format.
Displays the value in a human - readable format .
&self
f
&mut fmt::Formatter
&self
f
&mut fmt::Formatter