impl Into<String> for FileIDType

This commit is contained in:
Matthias Beyer 2015-12-21 19:37:14 +01:00
parent fab2dece59
commit 1fc1c73b4a

View file

@ -18,3 +18,12 @@ impl FileIDType {
}
impl Into<String> for FileIDType {
fn into(self) -> String {
match self {
FileIDType::UUID => String::from("UUID"),
}
}
}