#[derive(Debug, serde::Serialize)] /// Struct for packages exiting [`crate::internal::sort()`]. 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 { Self { repo, aur, nf } } } #[derive(Clone, Debug, Copy)] /// Options to be passed down to internal functions pub struct Options { pub noconfirm: bool, pub quiet: bool, pub asdeps: bool, pub upgrade: bool, }