Struct ZipArchiveMetadata
pub struct ZipArchiveMetadata { /* private fields */ }
Immutable metadata about a ZipArchive.
Implementations
impl ZipArchiveMetadata
fn len(&self) -> usizeNumber of files contained in the central directory.
fn is_empty(&self) -> boolWhether the central directory contains no files.
fn entry(&self, index: usize) -> ZipResult<ZipFileEntry<'_>>Get a central directory entry by index
fn has_duplicate_names(&self) -> boolWhether the central directory contains duplicate file names.
Trait Implementations
impl Debug for ZipArchiveMetadata
fn fmt(&self, f: &mut Formatter<'_>) -> Result