diff -r f772013867e7 -r 80ff12edf5e6 rust/hedgewars-server/src/handlers.rs --- 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), Replay(Option),