pub struct Plan {
pub actions: Vec<Action>,
}Expand description
A list of Actions to perform (or print, in dry-run mode).
Fields§
§actions: Vec<Action>Ordered actions, in the order discovered from the config.
Implementations§
Source§impl Plan
impl Plan
Sourcepub fn copy_count(&self) -> usize
pub fn copy_count(&self) -> usize
Number of Action::Copy entries.
Sourcepub fn conflict_count(&self) -> usize
pub fn conflict_count(&self) -> usize
Number of Action::Conflict entries.
Trait Implementations§
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