src/backup/backup_info.rs: Derive Clone
This commit is contained in:
parent
0506d1ed04
commit
35a2d8a6a6
|
@ -34,7 +34,7 @@ lazy_static!{
|
||||||
}
|
}
|
||||||
|
|
||||||
/// BackupGroup is a directory containing a list of BackupDir
|
/// BackupGroup is a directory containing a list of BackupDir
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct BackupGroup {
|
pub struct BackupGroup {
|
||||||
/// Type of backup
|
/// Type of backup
|
||||||
backup_type: String,
|
backup_type: String,
|
||||||
|
@ -82,7 +82,7 @@ impl BackupGroup {
|
||||||
/// Uniquely identify a Backup (relative to data store)
|
/// Uniquely identify a Backup (relative to data store)
|
||||||
///
|
///
|
||||||
/// We also call this a backup snaphost.
|
/// We also call this a backup snaphost.
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct BackupDir {
|
pub struct BackupDir {
|
||||||
/// Backup group
|
/// Backup group
|
||||||
group: BackupGroup,
|
group: BackupGroup,
|
||||||
|
|
Loading…
Reference in New Issue