aboutsummaryrefslogtreecommitdiff
path: root/src/call/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/call/mod.rs')
-rw-r--r--src/call/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/call/mod.rs b/src/call/mod.rs
index b0edc6c..83de339 100644
--- a/src/call/mod.rs
+++ b/src/call/mod.rs
@@ -1 +1,7 @@
+// A call to the API.
+pub trait Call: Into<xmlrpc::Value> {
+ fn method_name(&self) -> &'static str;
+ fn expected(&self) -> &'static [i32];
+}
+
pub mod account;