pub struct MetadataComparison {
pub format_version: (FormatVersion, FormatVersion),
pub block_size: (u16, u16),
pub file_count: (usize, usize),
pub archive_size: (u64, u64),
pub matches: bool,
}Expand description
Archive metadata comparison
Fields§
§format_version: (FormatVersion, FormatVersion)Format version comparison
block_size: (u16, u16)Block size comparison
file_count: (usize, usize)File count comparison
archive_size: (u64, u64)Archive size comparison
matches: boolWhether metadata matches
Trait Implementations§
Source§impl Clone for MetadataComparison
impl Clone for MetadataComparison
Source§fn clone(&self) -> MetadataComparison
fn clone(&self) -> MetadataComparison
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MetadataComparison
impl RefUnwindSafe for MetadataComparison
impl Send for MetadataComparison
impl Sync for MetadataComparison
impl Unpin for MetadataComparison
impl UnwindSafe for MetadataComparison
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