mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
File missed from previous commit
This commit is contained in:
parent
a0f04840cc
commit
69baca1061
18
src/rust/lqos_config/src/etc/v15/powercode_integration.rs
Normal file
18
src/rust/lqos_config/src/etc/v15/powercode_integration.rs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
use serde::{Serialize, Deserialize};
|
||||||
|
|
||||||
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
|
pub struct PowercodeIntegration {
|
||||||
|
pub enable_powercode: bool,
|
||||||
|
pub powercode_api_key: String,
|
||||||
|
pub powercode_api_url: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl Default for PowercodeIntegration {
|
||||||
|
fn default() -> Self {
|
||||||
|
PowercodeIntegration {
|
||||||
|
enable_powercode: false,
|
||||||
|
powercode_api_key: "".to_string(),
|
||||||
|
powercode_api_url: "".to_string(),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user