Skip to content

Commit

Permalink
Make QueryResult fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
d-k-bo committed Oct 4, 2023
1 parent f037bea commit 2e3cf34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Make QueryResult fields public

## [0.1.0] - 2023-10-03

### Added
Expand Down
4 changes: 2 additions & 2 deletions src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ pub struct Item {
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct QueryResult {
query_info: QueryInfo,
results: Vec<Item>,
pub query_info: QueryInfo,
pub results: Vec<Item>,
}

#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
Expand Down

0 comments on commit 2e3cf34

Please sign in to comment.