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
use regex::Regex;

#[derive(Clone)]
pub struct DefaultValueOptions {
    pub new_id: fn() -> String,
    pub now: fn() -> String,
    pub utc_now: fn() -> String,
    pub boolean_on: String,
    pub boolean_off: String,
    pub hex: fn(&str) -> String,
    pub hex_reverse: Regex,
}