pub struct Plan {
pub files: Vec<(PathBuf, String)>,
pub commands: Vec<Vec<String>>,
pub remove: Vec<PathBuf>,
pub note: String,
}Expand description
Everything a platform needs done, worked out without doing any of it.
Files first and commands second, always: each of these registers a path that has to exist by the time the command referring to it runs.
Fields§
§files: Vec<(PathBuf, String)>§commands: Vec<Vec<String>>§remove: Vec<PathBuf>Paths to delete, after the commands. Removal fills this; installing leaves it empty.
note: StringWhat to tell the reader, including how to undo it.
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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