improve search route
This commit is contained in:
parent
9a00f91ebc
commit
23799eeb9e
4 changed files with 123 additions and 210 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue