From f4c496c02c7ed240e238bcaec6fbc221db3c487f Mon Sep 17 00:00:00 2001 From: neon_arch Date: Sat, 2 Sep 2023 17:46:32 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20implement=20default=20trait?= =?UTF-8?q?=20for=20style=20struct=20(#201)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/parser_models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/parser_models.rs b/src/config/parser_models.rs index 0bc52d8..7528715 100644 --- a/src/config/parser_models.rs +++ b/src/config/parser_models.rs @@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize}; /// * `theme` - It stores the parsed theme option used to set a theme for the website. /// * `colorscheme` - It stores the parsed colorscheme option used to set a colorscheme for the /// theme being used. -#[derive(Serialize, Deserialize, Clone)] +#[derive(Serialize, Deserialize, Clone, Default)] pub struct Style { pub theme: String, pub colorscheme: String,