pub struct PlanInput<'a> {
pub game: &'a str,
pub selection: &'a [String],
pub choice_categories: &'a [&'a str],
pub installed: &'a BTreeMap<String, LedgerEntry>,
pub available: &'a BTreeMap<String, CachedPackage>,
}Fields§
§game: &'a strDependency refs resolve within this game.
selection: &'a [String]Everything the folder should hold afterwards, kept packages included, in install order, which decides who wins an overlap.
choice_categories: &'a [&'a str]This game’s single-pick categories, where a new pick supersedes the installed one.
installed: &'a BTreeMap<String, LedgerEntry>§available: &'a BTreeMap<String, CachedPackage>Cache entries whose payload is present.
Auto Trait Implementations§
impl<'a> Freeze for PlanInput<'a>
impl<'a> RefUnwindSafe for PlanInput<'a>
impl<'a> Send for PlanInput<'a>
impl<'a> Sync for PlanInput<'a>
impl<'a> Unpin for PlanInput<'a>
impl<'a> UnsafeUnpin for PlanInput<'a>
impl<'a> UnwindSafe for PlanInput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more