mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-17 11:46:46 -04:00
daemon/user: Mark some structs pub(crate) as appropriate
This commit is contained in:
parent
0c05b760ed
commit
bf218d248d
1 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ use crate::udev::UdevMonitor;
|
||||||
|
|
||||||
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
struct UserConfig {
|
pub(crate) struct UserConfig {
|
||||||
pub services: UserServicesConfig,
|
pub services: UserServicesConfig,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,14 +32,14 @@ pub(crate) struct UserServicesConfig {}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
struct UserState {
|
pub(crate) struct UserState {
|
||||||
pub services: UserServicesState,
|
pub services: UserServicesState,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
#[derive(Copy, Clone, Default, Deserialize, Serialize, Debug)]
|
||||||
pub(crate) struct UserServicesState {}
|
pub(crate) struct UserServicesState {}
|
||||||
|
|
||||||
struct UserContext {
|
pub(crate) struct UserContext {
|
||||||
session: Connection,
|
session: Connection,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue