There's no single obviously correct key to use. Should it include just the name, or the full path? Should it include the inode? Should it include the file type, which may not hold meaningful data if the FILE_TYPE_IN_DIR_ENTRY feature isn't set? And this question will get slightly worse in a future commit when an Ext4 field is added to DirEntry.
So, drop the derives and let the user decide (e.g. by calling file_name() or path()). This also brings the type more in line with std::fs::DirEntry.
There's no single obviously correct key to use. Should it include just the name, or the full path? Should it include the inode? Should it include the file type, which may not hold meaningful data if the FILE_TYPE_IN_DIR_ENTRY feature isn't set? And this question will get slightly worse in a future commit when an Ext4 field is added to DirEntry.
So, drop the derives and let the user decide (e.g. by calling file_name() or path()). This also brings the type more in line with std::fs::DirEntry.