mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
debug the body of every http request
This commit is contained in:
parent
36f32f58d4
commit
ad8d9a97d6
8 changed files with 46 additions and 7 deletions
|
@ -33,7 +33,7 @@ pub const fn default_crop_length() -> usize {
|
|||
DEFAULT_CROP_LENGTH
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Debug)]
|
||||
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
||||
pub struct SearchQuery {
|
||||
pub q: Option<String>,
|
||||
|
@ -62,7 +62,7 @@ pub struct SearchHit {
|
|||
pub matches_info: Option<MatchesInfo>,
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[derive(Serialize, Debug)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct SearchResult {
|
||||
pub hits: Vec<SearchHit>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue