diff --git a/src/backup/catalog.rs b/src/backup/catalog.rs index 70e997ba..03c915b9 100644 --- a/src/backup/catalog.rs +++ b/src/backup/catalog.rs @@ -53,12 +53,14 @@ impl fmt::Display for CatalogEntryType { /// /// The ``attr`` property contain the exact type with type specific /// attributes. +#[derive(Clone)] pub struct DirEntry { pub name: Vec, pub attr: DirEntryAttribute, } /// Used to specific additional attributes inside DirEntry +#[derive(Clone)] pub enum DirEntryAttribute { Directory { start: u64 }, File { size: u64, mtime: u64 },