aboutsummaryrefslogtreecommitdiffstats
path: root/src/build_rss.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-04-15 01:08:15 +0200
committerTeddy Wing2018-04-15 01:08:15 +0200
commitaa0190279db75f75210f5279afaa62178b242837 (patch)
tree81eb9a5c228fdb70e135976b51a8aa9d47439337 /src/build_rss.rs
parent2140a2f63ce6f8da3684806d814d905987013de5 (diff)
downloadmeetup-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/build_rss.rs')
0 files changed, 0 insertions, 0 deletions