impl Into<String> for FileIDType
This commit is contained in:
parent
fab2dece59
commit
1fc1c73b4a
1 changed files with 9 additions and 0 deletions
|
@ -18,3 +18,12 @@ impl FileIDType {
|
|||
|
||||
}
|
||||
|
||||
impl Into<String> for FileIDType {
|
||||
|
||||
fn into(self) -> String {
|
||||
match self {
|
||||
FileIDType::UUID => String::from("UUID"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue