Derive: Eq, PartialEq for FileID

This commit is contained in:
Matthias Beyer 2015-12-27 23:13:54 +01:00
parent 6676611f4b
commit 736c3784a9

View file

@ -14,6 +14,8 @@ use storage::file::hash::FileHash;
#[derive(Clone)]
#[derive(Hash)]
#[derive(Eq)]
#[derive(PartialEq)]
pub struct FileID {
id: FileHash,
id_type: FileIDType,