From 2ff7a449324d6399d5317abfbbf8fe3e6e972689 Mon Sep 17 00:00:00 2001 From: ko1N Date: Sat, 6 Apr 2024 23:20:31 +0200 Subject: [PATCH] Added clone to PluginMetadata --- src/storage/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/mod.rs b/src/storage/mod.rs index 681a219..dda8e98 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -20,7 +20,7 @@ pub mod database; use database::PluginDatabase; /// Metadata attached to each file -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Clone, Serialize, Deserialize)] pub struct PluginMetadata { /// The sha256sum of the binary file pub digest: String,