From f09c366900c4c1d627775f51dd8b676e280ea190 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Aug 2022 05:42:21 +0200 Subject: [PATCH] Also derive `Clone` for `CardSchemaFields` --- src/search/cardsearch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search/cardsearch.rs b/src/search/cardsearch.rs index 872c3dd..46ff22a 100644 --- a/src/search/cardsearch.rs +++ b/src/search/cardsearch.rs @@ -308,7 +308,7 @@ impl CardSearchEngine { /// Struct containing all retrieved [CardSearchEngine] [Field]s. /// /// This makes it easier to pass them around without having to re-fetch them every time they are used. -#[derive(Debug)] +#[derive(Clone, Debug)] struct CardSchemaFields { /// [Card::code]. pub code: Field,