1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Service {
    pub version: String,
    pub https: bool,
}

impl Default for Service {
    fn default() -> Self {
        Self {
            version: "3.6".to_string(),
            https: false,
        }
    }
}