datasources 0.1.5

Async datasource interfaces, middleware, registry, and test doubles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Clone, Debug)]
pub enum FieldSize {
    Length(i32),
    Decimal(i32, i32),
    Unlimited,
}

#[derive(Clone, Debug, Default)]
pub struct SpecField {
    pub type_name: String,
    pub name: Option<String>,
    pub size: Option<FieldSize>,
    pub default_value: Option<String>,
}