enum2str is a rust derive macro that creates Display and FromStr impls for enums. This is useful for strongly typing composable sets of strings.
Add this to your Cargo.toml:
Cargo.toml
enum2str = "0.1.9"