pub struct FixResult {
pub updated_lockfile: Lockfile,
pub applied_fixes: Vec<AppliedFix>,
pub failed_fixes: Vec<FailedFix>,
pub requires_force: Vec<String>,
}Expand description
Result of applying fixes
Fields§
§updated_lockfile: LockfileUpdated lockfile with fixes applied
applied_fixes: Vec<AppliedFix>Successfully applied fixes
failed_fixes: Vec<FailedFix>Fixes that failed to apply
requires_force: Vec<String>Changes that require –force flag
Implementations§
Source§impl FixResult
impl FixResult
Sourcepub fn has_changes(&self) -> bool
pub fn has_changes(&self) -> bool
Check if any fixes were applied
Sourcepub fn needs_force(&self) -> bool
pub fn needs_force(&self) -> bool
Check if force is required
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixResult
impl RefUnwindSafe for FixResult
impl Send for FixResult
impl Sync for FixResult
impl Unpin for FixResult
impl UnwindSafe for FixResult
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