pub struct Plan {
pub actions: Vec<Action>,
}Expand description
The reconcile output: an ordered, deterministic list of actions.
The plan is the dry-run recording. The convenience counts let the CLI summarise a run without re-walking the action list by hand.
Fields§
§actions: Vec<Action>The actions, in stable order.
Implementations§
Source§impl Plan
impl Plan
Sourcepub fn downloads(&self) -> usize
pub fn downloads(&self) -> usize
Number of Action::Download actions.
Sourcepub fn reformats(&self) -> usize
pub fn reformats(&self) -> usize
Number of Action::Reformat actions.
Number of Action::Retag actions.
Sourcepub fn renames(&self) -> usize
pub fn renames(&self) -> usize
Number of Action::Rename actions.
Sourcepub fn deletes(&self) -> usize
pub fn deletes(&self) -> usize
Number of Action::Delete actions.
Sourcepub fn skips(&self) -> usize
pub fn skips(&self) -> usize
Number of Action::Skip actions.
Sourcepub fn artifact_writes(&self) -> usize
pub fn artifact_writes(&self) -> usize
Number of Action::WriteArtifact actions.
Sourcepub fn artifact_deletes(&self) -> usize
pub fn artifact_deletes(&self) -> usize
Number of Action::DeleteArtifact actions.
Trait Implementations§
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