pub struct UpdateResult {
pub modified_files: HashSet<PathBuf>,
pub multi_file_packages: Vec<String>,
pub package_managers: HashSet<PackageManager>,
}Expand description
Result of applying updates
Fields§
§modified_files: HashSet<PathBuf>Files that were modified
multi_file_packages: Vec<String>Packages that were updated in multiple files
package_managers: HashSet<PackageManager>Package managers detected (for sync command suggestions)
Implementations§
Source§impl UpdateResult
impl UpdateResult
Sourcepub fn print_summary(&self)
pub fn print_summary(&self)
Print post-update messages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateResult
impl RefUnwindSafe for UpdateResult
impl Send for UpdateResult
impl Sync for UpdateResult
impl Unpin for UpdateResult
impl UnwindSafe for UpdateResult
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