Impl Into<FileIDType> for FileID
This commit is contained in:
parent
445f543159
commit
5c3d0ecce7
1 changed files with 7 additions and 0 deletions
|
@ -101,6 +101,13 @@ impl Into<String> for FileID {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Into<FileIDType> for FileID {
|
||||||
|
|
||||||
|
fn into(self) -> FileIDType {
|
||||||
|
self.id_type.clone()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl From<String> for FileID {
|
impl From<String> for FileID {
|
||||||
|
|
||||||
fn from(s: String) -> FileID {
|
fn from(s: String) -> FileID {
|
||||||
|
|
Loading…
Reference in a new issue