Skip to main content

status_variant_name

Function status_variant_name 

Source
pub fn status_variant_name(status: &str) -> String
Expand description

Convert a status code (or default, or wildcard 4XX) to a variant identifier. Rust response-enum variant name for an OpenAPI response key.