This crate provides procedural macrs to generate functions that return static slices of struct field names or enum variant names.
```rust use fievar::Fields;
struct Token { accesstoken: String, refreshtoken: String, }
asserteq!(&["accesstoken", "refresh_token"], Token::fields()); ```
You can also rename fields. ```rust use fievar::Fields;
struct Token { #[fievar(name = "accessToken")] accesstoken: String, refreshtoken: String, }
asserteq!(&["accessToken", "refreshtoken"], Token::fields()); ```