Derive: Eq, PartialEq for FileID
This commit is contained in:
parent
6676611f4b
commit
736c3784a9
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ use storage::file::hash::FileHash;
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
#[derive(Hash)]
|
#[derive(Hash)]
|
||||||
|
#[derive(Eq)]
|
||||||
|
#[derive(PartialEq)]
|
||||||
pub struct FileID {
|
pub struct FileID {
|
||||||
id: FileHash,
|
id: FileHash,
|
||||||
id_type: FileIDType,
|
id_type: FileIDType,
|
||||||
|
|
Loading…
Reference in a new issue