sdmx_json 0.6.2

A Rust implementation of SDMX-JSON (Statistical Data and Metadata eXchange) using Serde
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
macro_rules! impl_item_scheme {
	($(($struct: ty, $field: ident)),+ $(,)?) => {
		$(
			impl $crate::structure::ItemScheme for $struct {
				fn is_partial(&self) -> Option<bool> {
					self.is_partial
				}

				fn items(&self) -> Option<&Vec<$crate::structure::Item>> {
					self.$field.as_ref()
				}
			}
		)+
	};
}