the trait `diesel::Expression` is not implemented for `bigdecimal::BigDecimal`
问题 I am trying to create a struct that I can use in diesel for insertion. Specifically I am making the struct Insertable. On compile I get this error. I have a struct that I am trying to make Insertable via the derive attribute. I have a field called Bounty which is supposed to represent money, so I'm using BigDecimal as the type. Upon compilation, I get the error in the title. I've also tried using f64 but that gives the same error. #[macro_use] extern crate diesel; extern crate bigdecimal; mod