#[derive(Debug, serde::Serialize)] pub struct Sorted { #[allow(dead_code)] pub repo: Vec, #[allow(dead_code)] pub aur: Vec, #[allow(dead_code)] pub nf: Vec, } impl Sorted { pub fn new(repo: Vec, aur: Vec, nf: Vec) -> Self { let a: Sorted = Sorted { repo, aur, nf }; a } } #[derive(Clone, Copy)] pub struct Options { pub verbosity: i32, pub noconfirm: bool, } impl Options { #[allow(dead_code)] pub fn new(verbosity: i32, noconfirm: bool) -> Self { let a: Options = Options { verbosity, noconfirm, }; a } }