pub fn value_to_string<I>(val: I) -> Result<String>
where I: Into<Value>,
Expand description

Attempts to convert any data type which can be represented as an xmlrpc value into a String.

let a = serde_xmlrpc::value_to_string(42);
let b = serde_xmlrpc::value_to_string("Text");
let c = serde_xmlrpc::value_to_string(false);