Skip to main content

to_enum_variant

Function to_enum_variant 

Source
pub fn to_enum_variant(value: &str) -> String
Expand description

Convert an enum value to a Rust variant name Handles cases like “ACTIVE”, “active”, “PendingReview”, “IN_PROGRESS”