From 35a2d8a6a6bf060f963c827f2de3b70fa475902d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 10 May 2019 06:59:23 +0200 Subject: [PATCH] src/backup/backup_info.rs: Derive Clone --- src/backup/backup_info.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backup/backup_info.rs b/src/backup/backup_info.rs index ab63beb8..dfdf3a3f 100644 --- a/src/backup/backup_info.rs +++ b/src/backup/backup_info.rs @@ -34,7 +34,7 @@ lazy_static!{ } /// BackupGroup is a directory containing a list of BackupDir -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct BackupGroup { /// Type of backup backup_type: String, @@ -82,7 +82,7 @@ impl BackupGroup { /// Uniquely identify a Backup (relative to data store) /// /// We also call this a backup snaphost. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct BackupDir { /// Backup group group: BackupGroup,