faradayio / bigml-rs

A Rust client library for the BigML machine learning service (WIP).
2 stars 1 forks source link

Replace old macros and undocumented update API with `#[derive(Resource, Updatable)` #5

Closed emk closed 6 years ago

emk commented 6 years ago

This makes it easier to define new BigML resource types and to specify which fields can be updated. This breaks the existing, undocumented update API, and moves some resource fields into a new common subfield.

We replace the declarative macro resource! with two new programmatic derive macros implementing #[derive(Resource, Updatable)].