pub enum ZipEntry<S> {
File {
path: String,
modified: MsDosDateTime,
content: S,
},
Directory {
path: String,
modified: MsDosDateTime,
},
}Expand description
One entry (file or directory) passed to ZipWriter.
Variants§
File
A file entry.
Directory
A directory entry. path should end with '/'.
Fields
§
modified: MsDosDateTimeLast-modified date and time.
Auto Trait Implementations§
impl<S> Freeze for ZipEntry<S>where
S: Freeze,
impl<S> RefUnwindSafe for ZipEntry<S>where
S: RefUnwindSafe,
impl<S> Send for ZipEntry<S>where
S: Send,
impl<S> Sync for ZipEntry<S>where
S: Sync,
impl<S> Unpin for ZipEntry<S>where
S: Unpin,
impl<S> UnsafeUnpin for ZipEntry<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ZipEntry<S>where
S: UnwindSafe,
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