Hugo Duncan bb1a9b2389 Add serde default attribute for fields
When annotated with #[serde(default)], a field gets a default value
using std:default::Default, and will not error when decoding if the
field is missing from the input.

Addresses #9

Refactor default_value to use if-let
2015-03-02 17:20:22 -05:00
..
2015-02-25 08:14:20 -08:00
2014-09-06 20:42:49 -07:00
2015-02-19 08:35:42 -08:00