With Rust select space
contain field type decimal
how to deserialize?
I am using alopecosa crate select working fine primative type like boolean, string, number expect some new type like decimal need manual deserialize
Type I want Decimal (rust_decimal crate)
Asked
Active
Viewed 42 times
-1

Meas
- 192
- 1
- 2
- 19
-
What is the type you intend to deserialize it into? – possum May 14 '23 at 19:08
-
@possum sorry forgot provide type I am try to rust_decimal crate type, https://crates.io/crates/rust_decimal – Meas May 14 '23 at 19:25
-
Seems tightly connected with https://github.com/orgs/tarantool/discussions/8653 – Alexander Turenko May 15 '23 at 07:59
1 Answers
0
I fixed with import tarantool::decimal::Decimal;
the crate Rust tarantool runtime
Just make Rust struct field as type Decimal
from above crate it done

Meas
- 192
- 1
- 2
- 19