Converting an enum to/from String.
Derives ToString, FromStr impl:
```rust
enum Test { Foo, Bar, }
asserteq!(Test::Foo.tostring(), "Foo"); asserteq!(Test::fromstr("Foo").unwrap(), Test::Foo); ```
You can specify snake_case using attribute:
```rust
enum Test { SnakeCase, } ```
labelled-enum provides serde_plugin
module to work with serde Serializer/Deserializer:
```rust
struct Wrapper { #[serde(with = "labelledenum::serdeplugin")] testsnakecase: TestSnakeCase, } ```