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 <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-04-20 12:21:50 +02:00
parent 5116453b6d
commit cf320b6ba1

View File

@ -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