mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 17:32:21 -04:00
daemon: Mark default state and config with serde(default)
This commit is contained in:
parent
037d418553
commit
5b8deecd45
2 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,7 @@ use crate::path;
|
|||
use crate::udev::UdevMonitor;
|
||||
|
||||
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
||||
#[serde(default)]
|
||||
struct UserConfig {
|
||||
pub services: UserServicesConfig,
|
||||
}
|
||||
|
@ -30,6 +31,7 @@ struct UserConfig {
|
|||
pub(crate) struct UserServicesConfig {}
|
||||
|
||||
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
||||
#[serde(default)]
|
||||
struct UserState {
|
||||
pub services: UserServicesState,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue