feat(search): offset & limit options for search
This commit is contained in:
parent
10e3ca2efb
commit
4c6daf1fb7
3 changed files with 18 additions and 8 deletions
|
|
@ -3,8 +3,6 @@ use serde::Deserialize;
|
|||
#[derive(Deserialize)]
|
||||
pub struct SearchResult {
|
||||
pub hits: Vec<SearchHit>,
|
||||
pub offset: u32,
|
||||
pub limit: u32,
|
||||
pub total_hits: u32,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue