1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use crate::Value;

impl From<String> for Value {
    fn from(s: String) -> Self {
        Value::String(s)
    }
}

impl From<&str> for Value {
    fn from(s: &str) -> Self {
        Value::String(s.to_string())
    }
}