use std::collections::HashMap; {} pub enum AvailableViews {{ {} }} impl AvailableViews {{ pub fn to_list() -> Vec<&'static str> {{ vec!( {} ) }} pub fn get_views() -> HashMap> {{ let mut views: HashMap> = HashMap::new(); {} views }} }}