Open brigand opened 4 years ago
This seems closely related to https://github.com/elastic-rs/elastic/issues/377 but opening a new issues as that one is closed.
Getting "expected struct HitsTotal" issue with this on elasticsearch 6.7 (and the following versions for both elastic and elastic_derive crates).
(Parse(ParseError { inner: Error(\"invalid type: integer `0`, expected struct HitsTotal\", line: 11, column: 16) }))
This seems closely related to https://github.com/elastic-rs/elastic/issues/377 but opening a new issues as that one is closed.
Getting "expected struct HitsTotal" issue with this on elasticsearch 6.7 (and the following versions for both elastic and elastic_derive crates).
Relevant code
```rust #[derive(Clone, Debug, Serialize, Deserialize, ElasticType)] pub struct PortfolioIdListing { pub id: String, pub idlisting: types::IdListing, } let response = esc .search::