Derive Hash for FileIDType

This commit is contained in:
Matthias Beyer 2015-12-27 23:02:34 +01:00
parent f60c540ee5
commit 6676611f4b

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