improve search route

This commit is contained in:
Milim 2024-08-15 08:55:27 +02:00
parent 9a00f91ebc
commit 23799eeb9e
No known key found for this signature in database
4 changed files with 123 additions and 210 deletions

View file

@ -11,7 +11,7 @@ use crate::config::Style;
pub struct SearchParams {
/// It stores the search parameter option `q` (or query in simple words)
/// of the search url.
pub q: Option<String>,
pub query: Option<String>,
/// It stores the search parameter `page` (or pageno in simple words)
/// of the search url.
pub page: Option<u32>,