use crateOwnedValue;
use crateResult;
use DeserializeOwned;
use Serialize;
/// Tries to convert a struct that implements serde's serialize into
/// an `OwnedValue`
///
/// # Errors
///
/// Will return `Err` if value fails to be turned into a owned value
/// Tries to convert a `OwnedValue` into a struct that implements
/// serde's Deserialize interface
///
/// # Errors
///
/// Will return `Err` if `value` fails to be deserialized