aboutsummaryrefslogtreecommitdiff
path: root/src/response/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/response/mod.rs')
-rw-r--r--src/response/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/response/mod.rs b/src/response/mod.rs
index ddaa5f2..5c1584f 100644
--- a/src/response/mod.rs
+++ b/src/response/mod.rs
@@ -1,7 +1,9 @@
+use std::collections::BTreeMap;
+
/// A Response to an API call including status and data.
/// Data is guaranteed to be a `Struct`.
/// [`Struct`]: xmlrpc::Value::Struct
pub struct Response {
pub status: i32,
- pub data: xmlrpc::Value,
+ pub data: BTreeMap<String, xmlrpc::Value>,
}