File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
7171
7272 for result in recs . results. iter () {
7373 for hit in result . hits. iter () {
74- println! (" objectID={} score={:?}" , hit . object_id, hit . score);
74+ println! (" objectID={} score={:?} payload={:?} " , hit . object_id, hit . score, hit . payload );
7575 }
7676 }
7777
@@ -88,7 +88,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
8888## 🦀 Notes
8989
9090- The library is lenient in (de)serialization to stay forward-compatible with Algolia responses.
91- - Provide ` queryParameters ` via ` RecommendRequest.query_parameters ` / ` TrendingFacetsRequest.query_parameters ` as raw JSON.
91+ - This is not an official API client, this is a personal project done to learn Rust.
92+ - This project is not covered by Algolia SLA
93+ - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94+ IMPLIED (see [ LICENSE] ( LICENSE ) )
9295
9396## 📜 License
9497
You can’t perform that action at this time.
0 commit comments