pub fn convert_loadout_from_database_items( loadout_container_id: i64, database_items: &[Item], ) -> Result<Loadout, PersistenceError>