muster/domain/settings.rs
1use getset::{Getters, WithSetters};
2use serde::{Deserialize, Serialize};
3use typed_builder::TypedBuilder;
4
5/// User settings that apply across every workspace, stored per machine rather
6/// than in any single project's config.
7#[derive(Clone, Debug, Serialize, Deserialize, Getters, WithSetters, TypedBuilder)]
8#[set_with]
9pub struct Settings {
10 /// Whether to raise OS desktop notifications. In-app status-bar notices are
11 /// always shown regardless.
12 #[getset(get = "pub", set_with = "pub")]
13 desktop_notifications: bool,
14}