From b7ccc37fea82f08c665ffdb6b7da988a28919a95 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Sat, 7 Aug 2021 22:41:09 +0530 Subject: [PATCH] add clone trait to account --- src/rfc8620.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rfc8620.rs b/src/rfc8620.rs index f59a017..8cac91b 100644 --- a/src/rfc8620.rs +++ b/src/rfc8620.rs @@ -244,7 +244,7 @@ pub struct CapabilitiesObject { collation_algorithms: Vec, } -#[derive(Deserialize, Serialize, Debug)] +#[derive(Deserialize, Serialize, Debug, Clone)] #[serde(rename_all = "camelCase")] pub struct Account { pub name: String,