Open BartMassey opened 3 years ago
A lot of boilerplate code can be removed simply by automatically deriving these macros and deserializing right into RawFeatures from the Reddit response. Serde provides support for handling extra fields as well, and it should be used here.
Copied from insanitybit/PlayRustClassifier#1
A lot of boilerplate code can be removed simply by automatically deriving these macros and deserializing right into RawFeatures from the Reddit response. Serde provides support for handling extra fields as well, and it should be used here.