pub struct Plan {
pub remove: Vec<String>,
pub put_back: Vec<PutBack>,
pub unavailable: Vec<PutBack>,
pub keep: Vec<String>,
}Expand description
What restoring to a point would do, shown as the preview and then carried out unchanged.
Fields§
§remove: Vec<String>Installed now and not wanted at that point, or wanted in another
version, in which case it is also in put_back.
put_back: Vec<PutBack>Installed from the cache, in key order.
Wanted at that point but no longer in the cache: neither removed nor reinstalled, and named in the preview before the user commits.
keep: Vec<String>Already as the point had it.
Implementations§
Trait Implementations§
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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