pub enum PackageDiff {
Added(ArcPkgReq),
ManyAdded(u16),
Removed(ArcPkgReq),
ManyRemoved(u16),
VersionChanged(ArcPkgReq, String, String),
}Expand description
A change to an installed package, used for user display
Variants§
Added(ArcPkgReq)
A new package was added
ManyAdded(u16)
A large number of packages were added
Removed(ArcPkgReq)
An existing package was removed
ManyRemoved(u16)
A large number of packages were removed
VersionChanged(ArcPkgReq, String, String)
An existing package had it’s version changed. Contains the old and new version
Trait Implementations§
Source§impl Clone for PackageDiff
impl Clone for PackageDiff
Source§impl PartialEq for PackageDiff
impl PartialEq for PackageDiff
impl StructuralPartialEq for PackageDiff
Auto Trait Implementations§
impl Freeze for PackageDiff
impl RefUnwindSafe for PackageDiff
impl Send for PackageDiff
impl Sync for PackageDiff
impl Unpin for PackageDiff
impl UnsafeUnpin for PackageDiff
impl UnwindSafe for PackageDiff
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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