Derive: Eq, PartialEq for FileID

This commit is contained in:
Matthias Beyer 2015-12-27 23:13:54 +01:00
parent 6676611f4b
commit 736c3784a9
1 changed files with 2 additions and 0 deletions

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,