aboutsummaryrefslogtreecommitdiff
path: root/src/call/account.rs
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-11-05 21:36:52 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-11-05 21:36:52 +0100
commit0fbf72f2a40f8812cdcabd1bad57da01857eaff1 (patch)
tree5bd850a4ca55d5ef9cd2955049bc056fbcdb2ee5 /src/call/account.rs
parent249991412bf71615427ad008e19a206f831dbf5b (diff)
simplify response verification
Diffstat (limited to 'src/call/account.rs')
-rw-r--r--src/call/account.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/call/account.rs b/src/call/account.rs
index 73d6dab..011c447 100644
--- a/src/call/account.rs
+++ b/src/call/account.rs
@@ -21,7 +21,7 @@ impl Call for Login {
}
}
-impl Response<()> for Login {}
+impl Response<crate::response::account::Login> for Login {}
// Contains no information. This just signals to the server
// that it should end the session.
@@ -32,6 +32,7 @@ impl Call for Logout {
fn method_name(&self) -> String {
String::from("account.logout")
}
+
fn expected(&self) -> Vec<i32> {
vec![1500]
}