pub struct Reconciliation {
pub missing: Vec<FileOp>,
pub drift: Vec<FileOp>,
pub unchanged: Vec<String>,
}Expand description
The result of diffing a desired plan against what is on disk. Read-only: computing it writes nothing.
Fields§
§missing: Vec<FileOp>Files the plan wants that do not exist yet — safe to create.
drift: Vec<FileOp>Files that exist but whose contents differ from the plan — reported, not touched
unless the caller opts into --force.
unchanged: Vec<String>Files that already match the plan exactly.
Implementations§
Source§impl Reconciliation
impl Reconciliation
Sourcepub fn is_in_sync(&self) -> bool
pub fn is_in_sync(&self) -> bool
Whether there is nothing to create and nothing has drifted.
Trait Implementations§
Source§impl Debug for Reconciliation
impl Debug for Reconciliation
Source§impl Default for Reconciliation
impl Default for Reconciliation
Source§fn default() -> Reconciliation
fn default() -> Reconciliation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Reconciliation
impl RefUnwindSafe for Reconciliation
impl Send for Reconciliation
impl Sync for Reconciliation
impl Unpin for Reconciliation
impl UnsafeUnpin for Reconciliation
impl UnwindSafe for Reconciliation
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