From bf23512d3aa8a7918f872aa8fe9eea6ce2a910bb Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 7 Aug 2022 04:15:46 +0200 Subject: [PATCH] Make auth clonable --- qbittorrent-web-api-gen/src/generate/skeleton.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent-web-api-gen/src/generate/skeleton.rs b/qbittorrent-web-api-gen/src/generate/skeleton.rs index e09f91b..5351dd1 100644 --- a/qbittorrent-web-api-gen/src/generate/skeleton.rs +++ b/qbittorrent-web-api-gen/src/generate/skeleton.rs @@ -67,7 +67,7 @@ pub fn generate_skeleton(ident: &syn::Ident) -> proc_macro2::TokenStream { type Result = std::result::Result; - #[derive(Debug)] + #[derive(Debug, Clone)] pub struct #auth { auth_cookie: String, base_url: String,