Skip to main content

select_state

Function select_state 

Source
pub fn select_state(current_state: Option<StateType>) -> Result<String>
Expand description

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