diff --git a/src/message.rs b/src/message.rs index 4edcdc9..cb9d33c 100644 --- a/src/message.rs +++ b/src/message.rs @@ -7,7 +7,7 @@ use dbus_serialize::types::{Path,Variant,Value,BasicValue,Signature}; use marshal::{Marshal,pad_to_multiple}; use demarshal::{demarshal,DemarshalError}; -#[derive(Debug,Default,PartialEq)] +#[derive(Debug,Default,PartialEq,Eq)] pub struct MessageType(pub u8); pub const MESSAGE_TYPE_INVALID : MessageType = MessageType(0); pub const MESSAGE_TYPE_METHOD_CALL : MessageType = MessageType(1);