From cf320b6ba16e401eadade114c295558e9834184d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 20 Apr 2022 12:21:50 +0200 Subject: [PATCH] datastore: drop Eq and PartialEq from BackupDir Same as previous commit: this is supposed to be connected to a datastore and Eq/PartialEq only make sense for the api-type part. Signed-off-by: Wolfgang Bumiller --- pbs-datastore/src/backup_info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbs-datastore/src/backup_info.rs b/pbs-datastore/src/backup_info.rs index 8406bc5f..57741ae1 100644 --- a/pbs-datastore/src/backup_info.rs +++ b/pbs-datastore/src/backup_info.rs @@ -205,7 +205,7 @@ impl From<&BackupDir> for BackupGroup { /// Uniquely identify a Backup (relative to data store) /// /// We also call this a backup snaphost. -#[derive(Debug, Eq, PartialEq, Clone)] +#[derive(Debug, Clone)] pub struct BackupDir { dir: pbs_api_types::BackupDir, // backup_time as rfc3339