pub struct Entry {
pub name: String,
pub method: Method,
pub comment: Option<String>,
pub modified: DateTime<Utc>,
pub created: Option<DateTime<Utc>>,
pub accessed: Option<DateTime<Utc>>,
}
Expand description
Describes a zip archive entry (a file, a directory, a symlink)
Entry
contains normalized metadata fields, that can be set when
writing a zip archive. Additional metadata, along with the information
required to extract an entry, are available in StoredEntry instead.
Fields§
§name: String
Name of the file Must be a relative path, not start with a drive letter (e.g. C:), and must use forward slashes instead of back slashes
method: Method
Compression method
See Method for more details.
comment: Option<String>
Comment is any arbitrary user-defined string shorter than 64KiB
modified: DateTime<Utc>
Modified timestamp
created: Option<DateTime<Utc>>
Created timestamp
accessed: Option<DateTime<Utc>>
Accessed timestamp