pub async fn handle_post_mode( __arg0: Json<ModeUpdateRequest>, ) -> Result<Json<ModeResponse>, (StatusCode, String)>