summaryrefslogtreecommitdiffstats
path: root/src/lastfm/api_types.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-12-23 02:49:04 -0500
committerJesse Luehrs <doy@tozt.net>2018-12-23 02:49:04 -0500
commit96c8e1e5ac561e450b78912f65b2415d41fc6a58 (patch)
tree6710f042521c37e85b90d3b2c8cf2b3a1f98d8cb /src/lastfm/api_types.rs
parentbb860c9777d971a72e685148c6c1b2cdc13b3e0b (diff)
downloadlastfm-query-master.tar.gz
lastfm-query-master.zip
rust 2018HEADmaster
Diffstat (limited to 'src/lastfm/api_types.rs')
-rw-r--r--src/lastfm/api_types.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lastfm/api_types.rs b/src/lastfm/api_types.rs
index 148b17f..5a87956 100644
--- a/src/lastfm/api_types.rs
+++ b/src/lastfm/api_types.rs
@@ -1,6 +1,8 @@
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
+use serde_derive::Deserialize;
+
#[derive(Deserialize)]
pub struct track_artist {
#[serde(rename = "#text")]