pub struct PlanSummary {
pub added: usize,
pub changed: usize,
pub removed: usize,
pub same: usize,
pub unmanaged: 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.
has_changes: boolTrue when anything would be added, changed or removed. unmanaged
never counts (D-06).
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.