mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-07 17:18:21 +00:00
move module
This commit is contained in:
parent
c17e076bc8
commit
030555e721
2 changed files with 15 additions and 8 deletions
|
@ -1,14 +1,14 @@
|
|||
pub mod firewall;
|
||||
pub mod network;
|
||||
pub mod object;
|
||||
pub mod service;
|
||||
pub mod system;
|
||||
pub mod vpn;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use validator::Validate;
|
||||
|
||||
#[derive(Serialize, Deserialize, Validate, Default, Debug)]
|
||||
use super::firewall;
|
||||
use super::network;
|
||||
use super::object;
|
||||
use super::service;
|
||||
use super::system;
|
||||
use super::vpn;
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Validate, Default, Debug)]
|
||||
pub struct Config {
|
||||
pub config_version: u64,
|
||||
pub network: network::Network,
|
7
src/definitions/mod.rs
Normal file
7
src/definitions/mod.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
pub mod config;
|
||||
pub mod firewall;
|
||||
pub mod network;
|
||||
pub mod object;
|
||||
pub mod service;
|
||||
pub mod system;
|
||||
pub mod vpn;
|
Loading…
Add table
Reference in a new issue