Expand description
This crate provides a set of types that derive serde::Deserialize
that match the JSON
output from ncspot.
Interior types are matched as closely as possible to the way the data is modelled inside
of ncspot, with one exception: duration
is deserialized as a std::time::Duration
whereas
internally, ncspot represents this as a u32
.
I’m not entirely convinced this is necessary yet, but it may be convenient when using the library.