This adds basic serde support for going from a Row into any user struct that has field types that match Value's enum types. Other types like lists can be supported but this is out of scope of this PR.
// With some arbitrary `Row`
struct MyModel {
bar: String,
}
let data = libsql_client::de::from_row::<MyModel>(&row)?;
println!("{}", data.bar);
This adds basic serde support for going from a
Row
into any user struct that has field types that match Value's enum types. Other types like lists can be supported but this is out of scope of this PR.cc @glommer