pub trait ScalarValue { // Required methods fn from_value(value: Value) -> Result<Self> where Self: Sized; fn to_value(&self) -> Value; }