Function tremor_value::to_value [−][src]
pub fn to_value<T>(value: T) -> Result<Value<'static>> where
T: Serialize,
convert anything implementing Serialize
into a Value
using our own Serializer
.
Errors
if the given value cannot be serialized