Function struct_to_hashmap

Source
pub fn struct_to_hashmap<T: Serialize>(data: T) -> HashMap<String, Value>