datasources 0.1.42

Async datasource interfaces, middleware, registry, and test doubles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::routine_parameter::RoutineParameter;

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct NestedWhereArgument {
    pub path: String,
    pub parameter: RoutineParameter,
}

impl NestedWhereArgument {
    pub fn new(path: impl Into<String>, parameter: RoutineParameter) -> Self {
        Self {
            path: path.into(),
            parameter,
        }
    }
}