Derive: Hash for FileHash
This commit is contained in:
parent
22b57d5ad9
commit
4c252577f2
1 changed files with 2 additions and 0 deletions
|
@ -2,12 +2,14 @@ use std::convert::{From, Into};
|
|||
use std::error::Error;
|
||||
use std::fmt::{Debug, Display, Formatter};
|
||||
use std::fmt;
|
||||
use std::hash::Hash;
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Debug)]
|
||||
#[derive(PartialEq)]
|
||||
#[derive(Eq)]
|
||||
#[derive(Hash)]
|
||||
pub struct FileHash {
|
||||
hash: String,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue