chore: add Default to some structs
This commit is contained in:
parent
d2eb72d552
commit
d813292382
@ -79,7 +79,7 @@ impl<T> KloudStore<T> {
|
||||
// }
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Default)]
|
||||
pub struct KloudQueryFilters {
|
||||
pub id: String,
|
||||
pub sort: String,
|
||||
@ -89,25 +89,25 @@ pub struct KloudQueryFilters {
|
||||
// pub limit: Option<usize>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Default)]
|
||||
pub struct KloudQueryDefsFilters {
|
||||
pub id: Option<String>,
|
||||
}
|
||||
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Default)]
|
||||
pub struct KloudQueryLangFilters {
|
||||
pub lang: Option<String>,
|
||||
pub section: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Default)]
|
||||
pub struct KloudReqData {
|
||||
pub id: String,
|
||||
pub str_data: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[derive(Debug, Deserialize, Default)]
|
||||
pub struct KloudQueryConfigFilters {
|
||||
pub cld: String,
|
||||
pub grp: String,
|
||||
|
Loading…
Reference in New Issue
Block a user