From a361bf9a8ce4e3bf77285cd66e1d468c114529bc Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 11 Feb 2021 19:00:19 +0100 Subject: [PATCH] Import serde_json::Value as JsonValue --- ruma-client-api/src/r0/keys/upload_signatures.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruma-client-api/src/r0/keys/upload_signatures.rs b/ruma-client-api/src/r0/keys/upload_signatures.rs index 5620ac78..be2e73fe 100644 --- a/ruma-client-api/src/r0/keys/upload_signatures.rs +++ b/ruma-client-api/src/r0/keys/upload_signatures.rs @@ -6,6 +6,7 @@ use std::collections::BTreeMap; use ruma_api::ruma_api; use ruma_identifiers::UserId; +use serde_json::Value as JsonValue; ruma_api! { metadata: { @@ -20,7 +21,7 @@ ruma_api! { request: { /// Signed keys. #[ruma_api(body)] - pub signed_keys: BTreeMap>, + pub signed_keys: BTreeMap>, } #[derive(Default)] @@ -31,7 +32,7 @@ ruma_api! { impl Request { /// Creates a new `Request` with the given signed keys. - pub fn new(signed_keys: BTreeMap>) -> Self { + pub fn new(signed_keys: BTreeMap>) -> Self { Self { signed_keys } } }