rust/hedgewars-server/src/handlers.rs
changeset 15102 80ff12edf5e6
parent 15075 e935b1ad23f3
child 15103 823052e66611
--- a/rust/hedgewars-server/src/handlers.rs	Sun Jun 02 22:16:38 2019 +0200
+++ b/rust/hedgewars-server/src/handlers.rs	Sun Jun 02 23:58:12 2019 +0300
@@ -30,7 +30,7 @@
 
 use std::fmt::{Formatter, LowerHex};
 
-#[derive(PartialEq)]
+#[derive(PartialEq, Debug)]
 pub struct Sha1Digest([u8; 20]);
 
 impl Sha1Digest {
@@ -48,6 +48,7 @@
     }
 }
 
+#[derive(Debug)]
 pub struct AccountInfo {
     pub is_registered: bool,
     pub is_admin: bool,
@@ -77,6 +78,7 @@
     },
 }
 
+#[derive(Debug)]
 pub enum IoResult {
     Account(Option<AccountInfo>),
     Replay(Option<Replay>),