datasources 0.1.58

Async datasource interfaces, middleware, registry, and test doubles
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::value::Value;
use std::collections::HashMap;

pub type MappedRow = HashMap<String, MappedValue>;

#[derive(Clone, Debug, PartialEq)]
pub enum MappedValue {
    Cell(Value),
    Many(Vec<MappedRow>),
    Map(HashMap<String, Value>),
}