pub struct PlanSummary {
pub added: usize,
pub changed: usize,
pub removed: usize,
pub same: usize,
pub unmanaged: usize,
pub unreadable: usize,
pub has_changes: bool,
pub drifted: Option<usize>,
}Expand description
Counts by status.
Fields§
§added: usizeUnits that would be added.
changed: usizeUnits that would change.
removed: usizeUnits that would be removed.
same: usizeUnits already equal.
unmanaged: usizeLive units the declared tree does not manage.
unreadable: usizeUnits the host holds but could not serve whole
(Plan::unreadable); see has_changes.
has_changes: boolTrue when anything would be added, changed or removed, or when an
unreadable unit is declared or listed in the ledger (the deploy must
act on a unit it cannot see). unmanaged never counts (D-06), and
neither does an unreadable unit that is neither declared nor in the
ledger: like unmanaged, it is left alone, so a pull followed by
render and plan still reports no change. Its U line still keeps
plan_sha256 distinct from a plan without it.
drifted: Option<usize>Entries with drift: true; null without --base.
Trait Implementations§
Source§impl Clone for PlanSummary
impl Clone for PlanSummary
Source§impl Debug for PlanSummary
impl Debug for PlanSummary
Source§impl Default for PlanSummary
impl Default for PlanSummary
impl Eq for PlanSummary
Source§impl PartialEq for PlanSummary
impl PartialEq for PlanSummary
Source§impl Serialize for PlanSummary
impl Serialize for PlanSummary
impl StructuralPartialEq for PlanSummary
Auto Trait Implementations§
impl Freeze for PlanSummary
impl RefUnwindSafe for PlanSummary
impl Send for PlanSummary
impl Sync for PlanSummary
impl Unpin for PlanSummary
impl UnsafeUnpin for PlanSummary
impl UnwindSafe for PlanSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.