From 7aaedf645749710b325b7dfbb9ff945687b18c55 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Sun, 28 May 2017 12:26:18 +0200 Subject: [PATCH] Add Copy/Clone for FileOptions Resolves #38 --- src/write.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/write.rs b/src/write.rs index b38ccd37..623df92b 100644 --- a/src/write.rs +++ b/src/write.rs @@ -71,6 +71,7 @@ struct ZipWriterStats } /// Metadata for a file to be written +#[derive(Copy, Clone)] pub struct FileOptions { compression_method: CompressionMethod, last_modified_time: time::Tm,