Make Server fields private
This commit is contained in:
parent
afb7a94348
commit
7e8fd7a9aa
1 changed files with 3 additions and 3 deletions
|
|
@ -56,9 +56,9 @@ fn open_repo(repo_path: &Path) -> somehow::Result<ThreadSafeRepository> {
|
|||
|
||||
#[derive(Clone, FromRef)]
|
||||
pub struct Server {
|
||||
pub config: &'static Config,
|
||||
pub db: SqlitePool,
|
||||
pub repo: Arc<ThreadSafeRepository>,
|
||||
config: &'static Config,
|
||||
db: SqlitePool,
|
||||
repo: Arc<ThreadSafeRepository>,
|
||||
}
|
||||
|
||||
impl Server {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue