Struct rc_zip::parse::StoredEntryInner
source · pub struct StoredEntryInner {
pub crc32: u32,
pub compressed_size: u64,
pub uncompressed_size: u64,
pub is_zip64: bool,
}Expand description
Fields required to read an entry properly, typically cloned into owned entry readers.
Fields§
§crc32: u32CRC-32 hash as found in the central directory.
Note that this may be zero, and the actual CRC32 might be in the local header, or (more commonly) in the data descriptor instead.
compressed_size: u64Size in bytes, after compression
uncompressed_size: u64Size in bytes, before compression
This will be zero for directories.
is_zip64: boolTrue if this entry was read from a zip64 archive
Trait Implementations§
source§impl Clone for StoredEntryInner
impl Clone for StoredEntryInner
source§fn clone(&self) -> StoredEntryInner
fn clone(&self) -> StoredEntryInner
Returns a copy 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 moresource§impl Debug for StoredEntryInner
impl Debug for StoredEntryInner
impl Copy for StoredEntryInner
Auto Trait Implementations§
impl RefUnwindSafe for StoredEntryInner
impl Send for StoredEntryInner
impl Sync for StoredEntryInner
impl Unpin for StoredEntryInner
impl UnwindSafe for StoredEntryInner
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