pub struct SyncReport {
pub applied: ApplyResult,
pub pruned: Vec<ActionOutcome>,
pub diagnostics: Vec<Diagnostic>,
pub dependency_changes: Vec<DependencyUpsertChange>,
pub target_outcomes: Vec<TargetSyncOutcome>,
pub dry_run: bool,
}Expand description
Report from a completed sync operation.
Fields§
§applied: ApplyResult§pruned: Vec<ActionOutcome>§diagnostics: Vec<Diagnostic>§dependency_changes: Vec<DependencyUpsertChange>§target_outcomes: Vec<TargetSyncOutcome>Per-target sync outcomes from the target sync phase.
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more