use giterated_models::settings::Setting; use serde::{Deserialize, Serialize}; use crate::value::Name; impl Setting for Name { fn name() -> &'static str { "name" } } #[derive(Clone, Debug, Serialize, Deserialize)] pub struct Contents(String); impl Setting for Contents { fn name() -> &'static str { "contents" } } #[derive(Clone, Debug, Serialize, Deserialize)] pub struct NotificationsOverride(pub bool); impl Setting for NotificationsOverride { fn name() -> &'static str { "notifications_override" } }