Spaces:
Runtime error
Runtime error
neon_arch
commited on
Commit
•
d2e4822
1
Parent(s):
5c8cbee
✨ feat: add the safe search field in the `Cookie` struct (#210)
Browse files
src/models/server_models.rs
CHANGED
@@ -26,4 +26,6 @@ pub struct Cookie<'a> {
|
|
26 |
pub colorscheme: &'a str,
|
27 |
/// It stores the user selected upstream search engines selected from the UI.
|
28 |
pub engines: Vec<&'a str>,
|
|
|
|
|
29 |
}
|
|
|
26 |
pub colorscheme: &'a str,
|
27 |
/// It stores the user selected upstream search engines selected from the UI.
|
28 |
pub engines: Vec<&'a str>,
|
29 |
+
/// It stores the user selected safe search level from the UI.
|
30 |
+
pub safe_search_level: u8,
|
31 |
}
|