pub struct EntryInfo {
pub name: String,
pub compression_method: u16,
pub size: u64,
pub compressed_size: u64,
pub crc32: u32,
pub dos_date_time: (u16, u16),
pub unix_mode: Option<u32>,
}Expand description
ZIP metadata of one entry.
Fields§
§name: StringThe path as stored.
compression_method: u16Compression method: 0 (stored) or 8 (DEFLATE).
size: u64Declared uncompressed size in bytes.
compressed_size: u64Stored (compressed) size in bytes.
crc32: u32CRC-32 of the uncompressed bytes.
dos_date_time: (u16, u16)Modification time as stored: (MS-DOS date, MS-DOS time).
unix_mode: Option<u32>Unix mode bits, if the entry was written by a Unix-style tool.
Trait Implementations§
impl Eq for EntryInfo
impl StructuralPartialEq for EntryInfo
Auto Trait Implementations§
impl Freeze for EntryInfo
impl RefUnwindSafe for EntryInfo
impl Send for EntryInfo
impl Sync for EntryInfo
impl Unpin for EntryInfo
impl UnsafeUnpin for EntryInfo
impl UnwindSafe for EntryInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.