1 2 3 4 5 6 7 8 9 10 11 12 13 14
use serde::{Deserialize, Serialize}; /// The ui config for wireman #[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq, Eq, PartialOrd)] pub struct Config { /// The file path to the skin toml file. pub skin: Option<String>, } impl Config { pub fn new(skin: Option<String>) -> Self { Self { skin } } }