diff --git a/pbs-datastore/src/backup_info.rs b/pbs-datastore/src/backup_info.rs index 57741ae1..7ebb54eb 100644 --- a/pbs-datastore/src/backup_info.rs +++ b/pbs-datastore/src/backup_info.rs @@ -8,17 +8,11 @@ use pbs_api_types::{BackupType, GroupFilter, BACKUP_DATE_REGEX, BACKUP_FILE_REGE use super::manifest::MANIFEST_BLOB_NAME; /// BackupGroup is a directory containing a list of BackupDir -#[derive(Debug, PartialEq, Hash, Clone)] +#[derive(Debug, Hash, Clone)] pub struct BackupGroup { group: pbs_api_types::BackupGroup, } -impl std::cmp::PartialOrd for BackupGroup { - fn partial_cmp(&self, other: &Self) -> Option { - Some(self.group.cmp(&other.group)) - } -} - impl BackupGroup { pub(crate) fn new>(backup_type: BackupType, backup_id: T) -> Self { Self {