From 6bfc7ee06dc1a598014dd5bec659b14a3aa87bbd Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 22 Aug 2024 14:22:13 +0200 Subject: feat(download): Support limiting the downloader by maximal cache size --- src/storage/video_database/extractor_hash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage/video_database') diff --git a/src/storage/video_database/extractor_hash.rs b/src/storage/video_database/extractor_hash.rs index 3af4f60..593b5c4 100644 --- a/src/storage/video_database/extractor_hash.rs +++ b/src/storage/video_database/extractor_hash.rs @@ -19,7 +19,7 @@ use crate::{app::App, storage::video_database::getters::get_all_hashes}; static EXTRACTOR_HASH_LENGTH: OnceCell = OnceCell::const_new(); -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, Hash)] pub struct ExtractorHash { hash: Hash, } -- cgit 1.4.1