pub struct PackageDiff {
pub before_file_bytes: u64,
pub after_file_bytes: u64,
pub before_compressed_bytes: u64,
pub after_compressed_bytes: u64,
pub added: usize,
pub removed: usize,
pub changed: usize,
pub entries: Vec<EntryChange>,
}Fields§
§before_file_bytes: u64§after_file_bytes: u64§before_compressed_bytes: u64Sum of compressed entry sizes: what the package stores.
after_compressed_bytes: u64§added: usize§removed: usize§changed: usize§entries: Vec<EntryChange>Largest differences first.
Trait Implementations§
Source§impl Debug for PackageDiff
impl Debug 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> 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