pub fn into_string(self) -> String {
        match self {
            Value::Bool { val, .. } => val.to_string(),
            Value::Int { val, .. } => val.to_string(),
            Value::Float { val, .. } => val.to_string(),
            Value::Filesize { val, .. } => format_filesize(val),
            Value::Duration { val, .. } => format_duration(val),
            Value::Date { val, .. } => HumanTime::from(val).to_string(),
            Value::Range { val, .. } => {
                format!("{}..{}", val.from.into_string(), val.to.into_string())
            }
            Value::String { val, .. } => val,
            Value::List { vals: val, .. } => format!(
                "[{}]",
                val.into_iter()
                    .map(|x| x.into_string())
                    .collect::<Vec<_>>()
                    .join(", ")
            ),
            Value::Record { cols, vals, .. } => format!(
                "{{{}}}",
                cols.iter()
                    .zip(vals.iter())
                    .map(|(x, y)| format!("{}: {}", x, y.clone().into_string()))
                    .collect::<Vec<_>>()
                    .join(", ")
            ),
            Value::Block { val, .. } => format!("<Block {}>", val),
            Value::Nothing { .. } => String::new(),
            Value::Error { error } => format!("{:?}", error),
            Value::Binary { val, .. } => format!("{:?}", val),
            Value::CellPath { val, .. } => val.into_string(),
        }
    }
/// Convert Value into string. Note that Streams will be consumed.
Convert Value into string. Note that Streams will be consumed.
Convert Value into string . Note that Streams will be consumed .
pub fn into_string(self) -> String {
        match self {
            Value::Bool { val, .. } => val.to_string(),
            Value::Int { val, .. } => val.to_string(),
            Value::Float { val, .. } => val.to_string(),
            Value::Filesize { val, .. } => format_filesize(val),
            Value::Duration { val, .. } => format_duration(val),
            Value::Date { val, .. } => HumanTime::from(val).to_string(),
            Value::Range { val, .. } => {
                format!("{}..{}", val.from.into_string(), val.to.into_string())
            }
            Value::String { val, .. } => val,
            Value::List { vals: val, .. } => format!(
                "[{}]",
                val.into_iter()
                    .map(|x| x.into_string())
                    .collect::<Vec<_>>()
                    .join(", ")
            ),
            Value::Record { cols, vals, .. } => format!(
                "{{{}}}",
                cols.iter()
                    .zip(vals.iter())
                    .map(|(x, y)| format!("{}: {}", x, y.clone().into_string()))
                    .collect::<Vec<_>>()
                    .join(", ")
            ),
            Value::Block { val, .. } => format!("<Block {}>", val),
            Value::Nothing { .. } => String::new(),
            Value::Error { error } => format!("{:?}", error),
            Value::Binary { val, .. } => format!("{:?}", val),
            Value::CellPath { val, .. } => val.into_string(),
        }
    }
pub fn into_string ( self ) -> String { match self { Value :: Bool { val , .. } => val . to_string ( ) , Value :: Int { val , .. } => val . to_string ( ) , Value :: Float { val , .. } => val . to_string ( ) , Value :: Filesize { val , .. } => format_filesize ( val ) , Value :: Duration { val , .. } => format_duration ( val ) , Value :: Date { val , .. } => HumanTime :: from ( val ) . to_string ( ) , Value :: Range { val , .. } => { format ! ( " " val from into_string ( ) val to into_string ( ) ) } Value :: String { val , .. } => val , Value :: List { vals : val , .. } => format ! ( " " val into_iter ( ) map ( x x into_string ( ) ) collect Vec ( ) join ( " " ) ) , Value :: Record { cols , vals , .. } => format ! ( " " cols iter ( ) zip ( vals iter ( ) ) map ( ( x y ) format ( " " x y clone ( ) into_string ( ) ) ) collect Vec ( ) join ( " " ) ) , Value :: Block { val , .. } => format ! ( " " val ) , Value :: Nothing { .. } => String :: new ( ) , Value :: Error { error } => format ! ( " " error ) , Value :: Binary { val , .. } => format ! ( " " val ) , Value :: CellPath { val , .. } => val . into_string ( ) , } }
Convert Value into string.
Convert Value into string .
self