pub fn select_state(current_state: Option<StateType>) -> Result<String>
Select a forgejo_api::structs::StateType and serialize it the right way into a String … It has to be lowercase, otherwise the API will not detect it
forgejo_api::structs::StateType
String