diff options
author | Teddy Wing | 2018-04-15 01:08:15 +0200 |
---|---|---|
committer | Teddy Wing | 2018-04-15 01:08:15 +0200 |
commit | aa0190279db75f75210f5279afaa62178b242837 (patch) | |
tree | 81eb9a5c228fdb70e135976b51a8aa9d47439337 /src/meetup_rss.rs | |
parent | 2140a2f63ce6f8da3684806d814d905987013de5 (diff) | |
download | meetup-find-events-rss-aa0190279db75f75210f5279afaa62178b242837.tar.bz2 |
Event: Make `description`, `local_date`, `local_time` optional
After making a request to the API and getting a real JSON response
again, it turns out that the above mentioned fields are actually
optional, and will break Serde's parsing when they're not in the JSON
string coming from Meetup. Make these fields `Option`s so the program
doesn't break when they're not there.
Diffstat (limited to 'src/meetup_rss.rs')
0 files changed, 0 insertions, 0 deletions