pub struct CdEntry {
pub method: u16,
pub compressed_size: u64,
pub uncompressed_size: u64,
pub local_header_offset: u64,
pub crc32: u32,
pub filename: String,
}Expand description
Central directory entry metadata
Fields§
§method: u16Compression method (0=stored, 8=deflated)
compressed_size: u64Compressed size in bytes
uncompressed_size: u64Uncompressed size in bytes
local_header_offset: u64Offset to local file header
crc32: u32CRC32 checksum
filename: StringFilename (max 255 chars)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CdEntry
impl RefUnwindSafe for CdEntry
impl Send for CdEntry
impl Sync for CdEntry
impl Unpin for CdEntry
impl UnsafeUnpin for CdEntry
impl UnwindSafe for CdEntry
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