aboutsummaryrefslogtreecommitdiff
path: root/src/response
diff options
context:
space:
mode:
Diffstat (limited to 'src/response')
-rw-r--r--src/response/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/response/mod.rs b/src/response/mod.rs
new file mode 100644
index 0000000..ddaa5f2
--- /dev/null
+++ b/src/response/mod.rs
@@ -0,0 +1,7 @@
+/// 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,
+}