pub struct SyncReport {
pub applied: ApplyResult,
pub pruned: Vec<ActionOutcome>,
pub warnings: Vec<ValidationWarning>,
pub dependency_changes: Vec<DependencyUpsertChange>,
pub dry_run: bool,
}Expand description
Report from a completed sync operation.
Fields§
§applied: ApplyResult§pruned: Vec<ActionOutcome>§warnings: Vec<ValidationWarning>§dependency_changes: Vec<DependencyUpsertChange>§dry_run: boolWhether this was a dry run (--diff). Affects output wording only.
Implementations§
Source§impl SyncReport
impl SyncReport
Sourcepub fn has_conflicts(&self) -> bool
pub fn has_conflicts(&self) -> bool
Whether the sync produced any unresolved conflicts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncReport
impl RefUnwindSafe for SyncReport
impl Send for SyncReport
impl Sync for SyncReport
impl Unpin for SyncReport
impl UnsafeUnpin for SyncReport
impl UnwindSafe for SyncReport
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