Derive Hash for FileIDType

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

View File

@ -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,
} }