diff options
Diffstat (limited to 'src/call/mod.rs')
-rw-r--r-- | src/call/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/call/mod.rs b/src/call/mod.rs index 6b44a16..f8fe0a2 100644 --- a/src/call/mod.rs +++ b/src/call/mod.rs @@ -1,7 +1,7 @@ // A call to the API. pub trait Call: Clone + std::fmt::Debug + Into<xmlrpc::Value> { - fn method_name(&self) -> &'static str; - fn expected(&self) -> &'static [i32]; + fn method_name(&self) -> String; + fn expected(&self) -> Vec<i32>; } pub mod account; |