Use strum macros and serde to automatically deserialize enums from strings
Open
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 10
Description
Example
```
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub enum TriggerType {
IMMEDIATE,
DELAYED,
CRON,
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the TriggerType enum and its current serialization derives; no file or test is named in the issue. Check how string deserialization is currently handled, then add coverage for the enum values shown in the example and verify that the expected strings deserialize successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100