OM2
This crate is a loose attempt at creating a Unit
struct based off of the units
available in the OM2 ontology. It also exports Measure
and NumericUnion
classes.
All structs/enums exported are (de)serializable via Serde.
use ;
let measure = builder
.has_unit
.has_numerical_value
.build.unwrap;
assert_eq!;
assert_eq!;