1 2 3 4 5 6 7 8 9 10 11 12 13
use std::path::PathBuf; #[derive(Debug)] pub struct Settings { pub destination: PathBuf, pub quick_save: bool, } impl Default for Settings { fn default() -> Self { Self { destination: PathBuf::from("."), quick_save: false } } }