Change crop_length type from Option(usize) to usize

This commit is contained in:
Clémentine Urquizar 2021-06-13 12:37:38 +02:00
parent 638009fb2b
commit 65130d9ee7
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
2 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ pub struct SearchQueryGet {
limit: Option<usize>,
attributes_to_retrieve: Option<String>,
attributes_to_crop: Option<String>,
crop_length: Option<usize>,
crop_length: usize,
attributes_to_highlight: Option<String>,
filter: Option<String>,
matches: Option<bool>,