Derive Hash for FileIDType
This commit is contained in:
parent
f60c540ee5
commit
6676611f4b
1 changed files with 2 additions and 0 deletions
|
@ -1,12 +1,14 @@
|
||||||
use std::convert::{From, Into};
|
use std::convert::{From, Into};
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
use std::hash::Hash;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
#[derive(PartialEq)]
|
#[derive(PartialEq)]
|
||||||
#[derive(Eq)]
|
#[derive(Eq)]
|
||||||
// #[derive(Display)]
|
// #[derive(Display)]
|
||||||
|
#[derive(Hash)]
|
||||||
pub enum FileIDType {
|
pub enum FileIDType {
|
||||||
UUID,
|
UUID,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue