diff --git a/src/backup/backup_info.rs b/src/backup/backup_info.rs index 2aee800b..5af5c496 100644 --- a/src/backup/backup_info.rs +++ b/src/backup/backup_info.rs @@ -44,7 +44,7 @@ pub struct BackupGroup { impl BackupGroup { - pub fn new>(backup_type: T, backup_id: T) -> Self { + pub fn new, U: Into>(backup_type: T, backup_id: U) -> Self { Self { backup_type: backup_type.into(), backup_id: backup_id.into() } }